Re: [Kamailio-Users] Strip core function with variable

2009-11-24 Thread Antonio Reale
2009/11/24 Daniel-Constantin Mierla : > Hello, Hi Daniel, > the strip($var(x)) is equivalent to: > > $rU = $(rU{s.substr,$var(x),0}); > > Maybe would be more convenient to enhance the strip() function for the next > version. Perfect. I'll try your solution for now. Thank you very much. > Cheers

Re: [Kamailio-Users] Strip core function with variable

2009-11-24 Thread Daniel-Constantin Mierla
Hello, On 23.11.2009 15:49 Uhr, Antonio Reale wrote: Hi all, strip core function accepts only an integer as parameter. What do you thing about implementing the strip function with a variable as parameter in a future release? strip($var(x)); or something like that... Is this doable? the strip

[Kamailio-Users] Strip core function with variable

2009-11-23 Thread Antonio Reale
Hi all, strip core function accepts only an integer as parameter. What do you thing about implementing the strip function with a variable as parameter in a future release? strip($var(x)); or something like that... Is this doable? Best regards. -- Antonio