 |
Purpose
Searches the source string for all occurrences of the search string. Each time the search string is found, it is replaced with the defined replacement string.
Syntax
Replace (SourceString, SearchString, ReplacementString)
The variables can all be any valid string expressions.
Example
Sub Main()
Dim s As string
s = "one, two, three, four, five"
s = Replace(s, ",", ";")
' s is now assigned "one; two; three; four; five"
Print s
End Sub
|  |