Re: [SR-Users] String split function

2016-12-29 Thread Grant Bagdasarian
List Subject: Re: [SR-Users] String split function Hi Grant, On Thu, Dec 29, 2016 at 09:12:05AM +, Grant Bagdasarian wrote: > Hi, > > Is there a string split function built into Kamailio for use in the > cfg script? I'd like to split a string of key/value pairs inside t

Re: [SR-Users] String split function

2016-12-29 Thread Alex Balashov
Hi Grant, On Thu, Dec 29, 2016 at 09:12:05AM +, Grant Bagdasarian wrote: > Hi, > > Is there a string split function built into Kamailio for use in the > cfg script? I'd like to split a string of key/value pairs inside the > cfg script. For example: Key1=Value1;Key2=Value2; First split on ;

[SR-Users] String split function

2016-12-29 Thread Grant Bagdasarian
Hi, Is there a string split function built into Kamailio for use in the cfg script? I'd like to split a string of key/value pairs inside the cfg script. For example: Key1=Value1;Key2=Value2; First split on ; Then on = I think I can use the String Transformation {s.select,index,separator}, but I