Dialplan Programming

Hi friends,

I am new to asterisk, is there any way that I can remove trailing digits from dialplan.

I know ${EXTEN:1} removes leading digit

similarly I need to remove trailing digit, I tried ${EXTEN:-1} it removes all digit except last one.

looking for your reply…


voip-info.org/wiki/index.php … Substrings