This page last changed on Mar 30, 2011 by wikibot.

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.

The replacement only occurs in the output. The original variable is not altered.The replacement only occurs in the output. The original variable is not altered.

Syntax

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

See Also

Import Version

This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42