[OpenSIPS-Users] cut a string at special char

Mike Claudi Pedersen mike.pedersen at ipnordic.dk
Wed May 21 08:59:45 CEST 2014


is there a transformation that allows me to cut a str at a spcial char like
@ or *
i need this to be able to cut a certain pice from a string sometime its
+0212345678*234 and sometimes its +021122345678*234 and this makes it hard
to use the {s.substr,x,y} transformation

a 2nd question.
in special cases i need to replace the $fU with $di before forwarding the
request, is this possible and if yes.. how?

any help appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140521/b41c5c75/attachment.htm>


More information about the Users mailing list