replace(source-string,target-string,replacement-string)
Function group | Execute on client | Platform(s) |
---|---|---|
String | YES | All |
replace(source-string,target-string,replacement-string)
replace(source-string,target-string,replacement-string[,case-sensitive=kTrue])
Replaces the first occurrence of the target-string, within the source-string, with the replacement-string. Returns the resulting string.
If case-sensitive is kTrue (the default) or is omitted, a case-sensitive replace is performed. If passed as kFalse, a case-insensitive replace is performed.
Calculate lString as replace('Omnis SofTware LTd',chr((84),'t')
# returns 'Omnis Software LTd'