[asterisk-users] Get second cipher in an extension

Richard Kenner kenner at gnat.com
Mon Jun 20 14:13:13 CDT 2011


> how can I get the second character/cipher of an extension ?
> 
> If I have : exten => 12345,n,NoOP()
> 
> How can I get "2" ?

${EXTEN:1:1}



More information about the asterisk-users mailing list