[asterisk-bugs] [Asterisk 0018023]: [patch] func_strings would like a STRREPLACE function

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 16 08:06:21 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18023 
====================================================================== 
Reported By:                wdoekes
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18023
Category:                   Functions/func_strings
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.2.13 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-21 10:10 CDT
Last Modified:              2011-02-16 08:06 CST
====================================================================== 
Summary:                    [patch] func_strings would like a STRREPLACE
function
Description: 
Hi,

I needed a function to replace substrings in a variable:

STRREPLACE(<varname>,<needle>,<replacement>[,<occurrences>])

I hope it gets included, saves me a manual patch ;)

Regards,
Walter Doekes
OSSO B.V.


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

---------------------------------------------------------------------- 
 (0132024) pabelanger (administrator) - 2011-02-16 08:06
 https://issues.asterisk.org/view.php?id=18023#c132024 
---------------------------------------------------------------------- 
New features should be made against trunk.  Also, there are some formating
issues with the patch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-16 08:06 pabelanger     Note Added: 0132024                          
======================================================================




More information about the asterisk-bugs mailing list