Re: Finding the end of string with escapes

new topic     » goto parent     » topic index » view thread      » older message » newer message

Set a flag when you see a escape character and save it temporarly

  If the next character is a quote then do what ever action you need
  for the escape/quote combination ( you didn't say what you are doing
  with it )
  else output the escape character that you saved and the character
  that you just found and reset the flag.

  If you find a quote and you don't have a escape flaged then treat
  it as a real quote.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu