When taking a substring and a negative length is provided, instead of just
authorRussell Bryant <russell@russellbryant.com>
Mon, 14 Aug 2006 02:14:14 +0000 (02:14 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 14 Aug 2006 02:14:14 +0000 (02:14 +0000)
commit2f2cce01d252e6cff1f27cfe74912c3598dd7c0b
treedcf9f806e87c4dd39afe167ac5e8eec0555b694a
parent781f9dbcaf983c9550eda7cdd4933432966f8ace
When taking a substring and a negative length is provided, instead of just
ignoring it, allow this to mean that we want that many characters off of
the end of the string so that ${EXTEN:0:$[${LEN(${EXTEN}) - 1]} can become
${EXTEN:0:-1}.  (issue #7586, Corydon)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
doc/channelvariables.txt
pbx.c