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

Gordon Henderson gordon+asterisk at drogon.net
Thu Sep 30 03:34:16 CDT 2010


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.

Gordon




More information about the asterisk-users mailing list