[Users] strip_tail() string length?

Daniel-Constantin Mierla daniel at voice-system.ro
Tue Jan 30 11:54:20 CET 2007


Hello Brandon,

On 01/30/07 07:40, Brandon Armstead wrote:
> 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.
now it is not possible, but should be in the next days (maybe not 
exactly in the way you proposed). By now you can use the new perl module 
and implement a small script to do that for you. Should be pretty 
straightforward.

http://www.openser.org/docs/modules/1.2.x/perl.html

Cheers,
Daniel


>
> -- 
> Brandon Armstead
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the sr-users mailing list