Hello, I have a var like ?blabla? with the ? I need to suppr the ? Is it possible with the ${var:x:y} ? Thank you Cordialement, BERGANZ Fran?ois P Pensez ? l'Environnement, n'imprimez ce mail que si n?cessaire. -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.digium.com/pipermail/asterisk-users/attachments/20090520/9a158ef0/attachment.htm
Cut should do this for you Exten => x,x,Set(var2=cut(var1,?\??) _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of BERGANZ Fran?ois Sent: Wednesday, May 20, 2009 10:33 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] play with varibles Hello, I have a var like ?blabla? with the ? I need to suppr the ? Is it possible with the ${var:x:y} ? Thank you Cordialement, BERGANZ Fran?ois P Pensez ? l'Environnement, n'imprimez ce mail que si n?cessaire. -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.digium.com/pipermail/asterisk-users/attachments/20090520/640d6a3f/attachment.htm
BERGANZ Fran?ois escribi?:> > Hello, > > > > I have a var like 'blabla' with the ' > > I need to suppr the ' > > Is it possible with the ${var:x:y} ? > > > > Thank you > > >It's like with any other string, so it should work. Cheers,> > > > Cordialement, > > BERGANZ Fran?ois > > P Pensez ? l'Environnement, n'imprimez ce mail que si n?cessaire. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users-- Ing. Miguel Molina Grupo de Tecnolog?a Millenium Phone Center PBX: (+57 1)6500800 ext. 1201 Fax: (+57 1)6500816 M?vil: (+57)3138873587 -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.digium.com/pipermail/asterisk-users/attachments/20090520/baef6ba2/attachment.htm