Replacing strings

<str-expr2> = STR_REPLACE (<str-expr1>, CH1, CH2)

Replace all characters of type ch1 by character of type ch2 in the original string and return the result in the modified string.

Example

<str-expr1> = "This is the original string”;

OUTPUT "**** original string = " <str-expr1>;

<str-expr2> = STR_REPLACE (<str-expr1>, "i", "1");

OUTPUT "**** replaced string = " <New string>;  

Output result:

**** ORIGINAL STRING = THIS IS THE ORIGINAL STRING

**** REPLACED STRING = TH1S 1S THE OR1G1NAL STR1NG

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.