Replaceexpression find replacewith[ start[ count[ compare

This function returns a string in which a specified substring has been replaced with another substring, a specified number of times. The expression argument is a string on which the Replace function acts. The find argument is the substring to be replaced, and replacewith is the replacement string. The remaining arguments are optional. The start argument is the character position where the search begins. If it is omitted, the search starts at the first character. The count argument is the number of replacements to be performed. If it is omitted, all possible replacements will take place. Finally, the compare argument specifies the kind of comparison to be performed. The values of the compare argument are the members of the CompareMethod enumeration, described in Table 8.

0 0

Post a comment