Create and return a new string from the specified source, replacing all matches of the specified sub-string with a new one.
Syntax |
strReplace(string source, string tofind, string toreplace, bool cs=true): int |
---|---|
source |
Source string |
tofind |
Text to find |
toreplace |
Text to replace with |
cs |
Case sensitive search flag |
Result |
Returns the result string |