Description
Within a variable, replaces all occurrences of one string with another.
Syntax
Swap expression1 With expression2 In variable
Parameters
The Swap function has the following parameters.
| Parameter | Description |
|---|---|
| Expression1 | A substring within variable that will be replaced. |
| Expression2 | The string that takes the place of expression1. |
| Variable | The string that contains the substring expression1. |
Use Convert to swap one character value with another.
See also
Example
* change CR:LF to text marks swap \0D0A\ with @TM in text