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-char>. <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 26 of Jul, 2017 (13:40 UTC) by admin
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+