replaceall()

Function group Execute on client Platform(s)
String YES All

Syntax

replaceall(source-string,target-string,replacement-string)

replaceall(source-string,target-string,replacement-string[,case-sensitive=kTrue])

Description

Replaces all occurrences 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.

Example

Calculate lString as replaceall('Omnis SofTware LTd',chr((84),'t')
# returns 'Omnis Software Ltd'