Escaping the quote in a string
seb
Posts: 1
Hi,
is there a way to escape the quote character in a string?
If I do something like
DATA "MY string ""is not over"
I want to have a quote in the string but, doubling it does not.
I tried also with the \ character before.
Does anybody know if it is possible?
Thanks,
is there a way to escape the quote character in a string?
If I do something like
DATA "MY string ""is not over"
I want to have a quote in the string but, doubling it does not.
I tried also with the \ character before.
Does anybody know if it is possible?
Thanks,
Comments
·· You must use the ASCII value for the character in your DATA statement as follows:
DATA "MY string ",·34,"is not over"
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10