|
%repl() Function |
|
|
%repl() function replaces sub-strings in a string with another sub-string and returns the result. Syntax: %repl(source-expression, search-for-expression, replace-with-expression)
Examples: %repl('--a--b--c--c--b--a--','-b-','*b*')
returns: '--a-*b*-c--c-*b*-a--'
%repl('<abc>','&','&')
returns: '&lt;abc&gt;'
|