str_ireplace - Replace all occurrences of the search string with the replacement string (case insensitive).
str_ireplace(search,replace,subject)
in: res={{str_ireplace(["one","TWO","THREE"],["TWO WORDS","MANY LETTERS","OTHER IDEAS"],"ONE SAMPLE")}}. out: res=MANY LETTERS WORDS SAMPLE. in: res={{str_ireplace(["one","TWO","THREE"],"test","ONE TWO SAMPLES")}}. out: res=test test SAMPLES. in: res={{str_ireplace("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.