Start a new topic

Making these characters valid in a txt string \ and "

I am getting a syntax error when i want to incorporate these 2 characters inside a text string



What is the proper way to do it?

1) t0.txt="\"'"  - backslash to quote a literal internal double quote, not needed for your single quote

2) t0.txt="\\"   - backslash to quote a literal backslash, otherwise interpreted as next char literal

Thanks Patrick
Works Perfectly.


Login or Signup to post a comment