str_replace - Replace all occurrences of the search string with the replacement string.
str_replace(search,replace,subject)
Note: In the followings examples, the _ between the { should be removed to make it work.
in: res={_{str_replace(["ONE","TWO","THREE"],["TWO WORDS","MANY LETTERS","OTHER IDEAS"],"ONE SAMPLE")}}. out: res=MANY LETTERS WORDS SAMPLE. in: res={_{str_replace(["ONE","TWO","THREE"],"test","ONE TWO SAMPLES")}}. out: res=test test SAMPLES. in: res={_{str_replace("ONE","test","ONE TWO SAMPLES")}}. out: res=test TWO SAMPLES.
Written by Pusnei Sergey, <sergey@sednove.com>
1.0 2014-09-09 21:24:14 laplante@sednove.com