[asterisk-bugs] [Asterisk 0015223]: [patch] New asterisk function REPLACE

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 18 09:02:44 CDT 2009


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15223 
====================================================================== 
Reported By:                ajohnson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15223
Category:                   Functions/func_strings
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.x Version Tracker
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 197994 
Request Review:              
====================================================================== 
Date Submitted:             2009-05-29 12:02 CDT
Last Modified:              2009-09-18 09:02 CDT
====================================================================== 
Summary:                    [patch] New asterisk function REPLACE
Description: 
[Synopsis]
Replace a set of characters with another character in a given string


[Description]
Iterates through a string replacing all the <find-chars> with
<replace-char>.
NOTE: <replace-char> may be either empty or contain one character

[Syntax]
REPLACE(find-chars,replace-char,string)

====================================================================== 

---------------------------------------------------------------------- 
 (0110966) lmadsen (administrator) - 2009-09-18 09:02
 https://issues.asterisk.org/view.php?id=15223#c110966 
---------------------------------------------------------------------- 
This is marked as Ready for Testing, however, can't this same functionality
be performed with a REGEX() ? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-18 09:02 lmadsen        Note Added: 0110966                          
2009-09-18 09:02 lmadsen        Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list