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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Sep 23 08:20:22 CDT 2010


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:              2010-09-23 08:20 CDT
====================================================================== 
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.


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

---------------------------------------------------------------------- 
 (0127314) wdoekes (reporter) - 2010-09-23 08:20
 https://issues.asterisk.org/view.php?id=18023#c127314 
---------------------------------------------------------------------- 
Oh, I missed a </para> in the documentation.

-If <replaceable>occurrences</replaceable> is not specified, it defaults
to all.
+If <replaceable>occurrences</replaceable> is not specified, it defaults
to all.</para> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-23 08:20 wdoekes        Note Added: 0127314                          
======================================================================




More information about the asterisk-bugs mailing list