Hi
I did try this 

              $rU = $(var(rU){s.replace,0,5} ;

and tried with a number full of zeros, my anticipation was that it will remove the 0s and replace those with 5s in the echo log for $rU I did get, the below, the whole number was replaced with 5.


 5(23072) ERROR: <script>: 00961000000000 ---------------------------------------------------------------------------
 5(23072) ERROR: <script>: 5 ---------------------------------------------------------------------------






On Mon, Feb 4, 2013 at 2:12 PM, Alex Balashov <abalashov@evaristesys.com> wrote:
{s.subst} transformation.

Ali Jawad <ali.jawad@splendor.net> wrote:

>Dear All
>I need to remove any dashes wherever they do occur in a called number,
>any
>guidance please ?
>Regards
>
>*
>*
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>sr-users@lists.sip-router.org
>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

--
Sent from my mobile, and thus lacking in the refinement one might expect from a fully-fledged keyboard.

Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users