[asterisk-users] Go from *100* to just 100

2010-09-30 Thread Jonas Kellens
Hello list, how can I go from *100* to 100 ? I know I can do something like ${EXTEN:1} but that way I only get rid of just one *. Kind regards, Jonas. -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] Go from *100* to just 100

2010-09-30 Thread Andrew Thomas
: 30 September 2010 08:31 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Go from *100* to just 100 Hello list, how can I go from *100* to 100 ? I know I can do something like ${EXTEN:1} but that way I only get rid of just one *. Kind regards, Jonas

Re: [asterisk-users] Go from *100* to just 100

2010-09-30 Thread Gordon Henderson
On Thu, 30 Sep 2010, Jonas Kellens wrote: Hello list, how can I go from *100* to 100 ? I know I can do something like ${EXTEN:1} but that way I only get rid of just one *. ${EXTEN:1:3} That gives 3 characters from an offset of 1. Read the file channelvariables.txt in the doc directory.

Re: [asterisk-users] Go from *100* to just 100

2010-09-30 Thread Richard Kenner
how can I go from *100* to 100 ? I know I can do something like ${EXTEN:1} but that way I only get rid of just one *. ${EXTEN:1:-1} removes the first and last characters of ${EXTEN}. -- _ -- Bandwidth and Colocation