[SR-Users] Kamailio number of matches of specific character in a string

Ali Taher ataher at vanrise.com
Thu Jun 18 12:44:57 CEST 2015


Hello,

 

I just need to count the number of a specific character in a string.

For example I want to count the number of "a" in the following string :
"bbbaddaa34"

 

I searched among transformations but didn't find such tool.

 

Any help would be appreciated.

 

Thanks 

Ali

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150618/2ad33baa/attachment.html>


More information about the sr-users mailing list