str_replace - Replace all occurrences of the search string with the replacement string.
str_replace(search,replace,subject)
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.
{{ include("includes/strings.sn") }}
Written by Pusnei Sergey, <sergey@sednove.com>
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit© 2024 extenso Inc. All rights reserved.