Asterisk func 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-ch
ar>. <replace-char> may be either empty or contain one character. If empty,
all <find-chars> will be deleted from the output.
NOTE: The replacement only occurs in the output. The original variable is
not altered.

Syntax:

REPLACE(varname,find-chars[,replace-char])

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-ch
ar>. <replace-char> may be either empty or contain one character. If empty,
all <find-chars> will be deleted from the output.
NOTE: The replacement only occurs in the output. The original variable is
not altered.

Syntax:

REPLACE(varname,find-chars[,replace-char])
Created by: laigor, Last modification: Wed 07 of Sep, 2011 (07:05 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+