<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV><FONT face="Courier New">I dont know if my mail client will keep formatting
as I se it, but for me it sure looks like one space.</FONT></DIV>
<DIV><FONT face="Courier New">-- Executing [0424449631@fax.inputinterior.se:4]
NoOp("OOH323/Avaya2-109", "Martela (fax)") in new stack</FONT></DIV>
<DIV><FONT
face="Courier New">
xyz</FONT></DIV>
<DIV><FONT face="Courier New">-- Executing [0424449631@fax.inputinterior.se:5]
NoOp("OOH323/Avaya2-109", "Martela ") in new stack</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-----Ursprungligt meddelande----- </DIV>
<DIV>From: Tilghman Lesher </DIV>
<DIV>Sent: Monday, April 11, 2011 10:15 AM </DIV>
<DIV>To: Asterisk Users Mailing List - Non-Commercial Discussion </DIV>
<DIV>Subject: Re: [asterisk-users] Variable stripping/removing part of string
</DIV>
<DIV> </DIV>
<DIV>On Monday 11 April 2011 02:56:03 magnus.b@inputinterior.se wrote:</DIV>
<DIV>> It was a 1.8 but then we started to do a lot of development (ooh323)
so</DIV>
<DIV>> today it is Asterisk
SVN-may-ooh323_ipv6_direct_rtp-r311741MS-/trunk.</DIV>
<DIV>> Can hardly se that we have done any changes that would cause my</DIV>
<DIV>> "problem".</DIV>
<DIV> </DIV>
<DIV>Are you sure there's only a single space separating the name from the</DIV>
<DIV>opening parenthesis? The :0:-1 nomenclature only removes a
single</DIV>
<DIV>byte from the end, and if there was more than a single byte, that
might</DIV>
<DIV>explain the difference. If that's the case, you may be forced to do a
loop</DIV>
<DIV>to remove all trailing spaces, if that's still important:</DIV>
<DIV> </DIV>
<DIV>While($["${foo:-1}" = " "])</DIV>
<DIV>Set(foo=${foo:0:-1})</DIV>
<DIV>EndWhile</DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV>Tilghman</DIV>
<DIV> </DIV>
<DIV>--</DIV>
<DIV>_____________________________________________________________________</DIV>
<DIV>-- Bandwidth and Colocation Provided by http://www.api-digital.com --</DIV>
<DIV>New to Asterisk? Join us for a live introductory webinar every Thurs:</DIV>
<DIV>
http://www.asterisk.org/hello</DIV>
<DIV> </DIV>
<DIV>asterisk-users mailing list</DIV>
<DIV>To UNSUBSCRIBE or update options visit:</DIV>
<DIV>
http://lists.digium.com/mailman/listinfo/asterisk-users</DIV></DIV></DIV></BODY></HTML>