MivaScript Builtin Function, Miva Merchant 9+
glosub_array( string, search_array, replace_array )
<mvt:assign name="g.return_value" value="glosub_array( string, search_array, replace_array )" />
Works like glosub(), but search_array and replace_array are iterated through, each value in search_array found in the string is replaced by the corresponding value in replace_array
string
the target
search-array
an array of strings that will be searched for
replace-array
an array of the replacement strings