Re: [SR-Users] Stripping variable amount of digits

2010-09-16 Thread Iñaki Baz Castillo
2010/9/16 Daniel-Constantin Mierla : >  Hi Inaki, > > that works with string transformations: > - in older versions, use s.substr Opsss, I didn't read "offset and length can be PV as well" :) Thanks a lot. -- Iñaki Baz Castillo ___ SIP Express Rout

Re: [SR-Users] Stripping variable amount of digits

2010-09-16 Thread Daniel-Constantin Mierla
Hi Inaki, that works with string transformations: - in older versions, use s.substr - in last one there is s.strip Cheers, Daniel On 9/16/10 8:28 PM, Iñaki Baz Castillo wrote: 2010/9/16 Iñaki Baz Castillo: Hi, I get a prefix string from a database and store it in $var(prefix). Such prefix ca

Re: [SR-Users] Stripping variable amount of digits

2010-09-16 Thread Iñaki Baz Castillo
2010/9/16 Iñaki Baz Castillo : > Hi, I get a prefix string from a database and store it in > $var(prefix). Such prefix can contain any number of digits (no fixed > length). > Now I must to check if the RURI username begins with that prefix and > in that case strip it. > > I can get the first step (