REPLACE()
Synopsis
Replace a set of characters in a given string with another character.
Description
Iterates through a string replacing all the find-chars with replace-char. replace-char may be either empty or contain one character. If empty, all find-chars will be deleted from the output.
Info | ||
---|---|---|
| ||
The replacement only occurs in the output. The original variable is not altered. |
Syntax
No Format |
---|
REPLACE(varname,find-chars[,replace-char]) |
Arguments
varname
find-chars
replace-char
Import Version
This documentation was imported from Asterisk Version SVN-branch-11-r379343