Re: Howto escape double qoutes used in a string

2010-03-15 Thread Erlend Leganger
Just a variantion of Nakarin's answer - if you wanted the end result to become: access example "usm auth exact all none none" then the correct escaping would be "snmp2" string =>  "access example \"usm auth exact all none none\""; - Erlend On 15 March 2010 10:57, Nakarin Phooripoom wrote: > >

Re: Howto escape double qoutes used in a string

2010-03-15 Thread Nakarin Phooripoom
Simply add backslash (\) right in front of the inner quotation marks. "snmp2" string => "access example \"\" usm auth exact all none none"; Cheers, --Nakarin On Mar 15, 2010, at 10:47 AM, Patrick de Ruiter wrote: > Hi Guys, > > I'm currently strugling with the problem of escaping double quo