The Replace function replaces all occurrences of a substring with another string.
Syntax
|
The Replace function replaces all occurrences of a substring with another string. |
|
Replace(string, searchValue, replaceValue) |
|
Arguments: |
|
|
string |
String - A string. |
|
|
searchValue |
String - A substring to search for. |
|
|
replaceValue |
String - The replacement value. |
Remarks
- Example: Replace("abba", "b", "a") returns "aaaa".
Comments
0 comments
Article is closed for comments.