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 was hoping there is a built in function.

{param.valueat,index[, delimiter]} may also be an option.

 

Regards,

 

Grant