Topic complex |
String functions |
Function |
exchange() |
Short |
Replaces a substring in a string |
Syntax |
EXCHANGE(String1,String2,String3 : STRING) : STRING |
Parameter |
string1, string2, string3 : any string |
Return |
string1, after every appearance of string2 is replaced by string3. |
See also: |
|
Description |
This functions works with a recursion lock. EXCHANGE(x,x,x) do not lead to an infinite loop.
Example:
EXCHANGE('Der Chenese met dem Kentrebess','e','o') -> 'Dor Chonoso mot dom Kontroboss'
|
Write a comment:
|