[Users] strip_tail() string length?

Brandon Armstead brandon.armstead at gmail.com
Tue Jan 30 06:40:47 CET 2007


Hello everyone,

    I'm wondering what the easiest method would be to grab how long the RURI
is and strip based on that information... or would I have to actually use
regex, or is there an easier STRLEN() or LENGTH() operation?  Any ideas, or
is this something that could be implemented?  Thanks.

i.e. strip_tail(strlen($ru) - 2); ... or something like such.

-- 
Brandon Armstead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070129/fbb97d7f/attachment.htm 


More information about the Users mailing list