[SR-Users] Striping Character from $rU

dotnetdub dotnetdub at gmail.com
Mon Apr 19 19:55:51 CEST 2010


Hi,

Running 1.53 and also 3.01

I know there are operators to strip() and strip_tail() to remove characters
from the front and end of a uri - what would people recommend to make sure
that the uri only ever contains numerical value?

If I wanted to for example strip the - character what would be the best way?

TIA.
Stephen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100419/1724c148/attachment.htm>


More information about the sr-users mailing list