How To

How to escaping " in string?

1

AkiPot 2022-01-21 10:02

"\"" not work.

I know it may be used CHR$(34), but I want escaping " right in string. Is this possible?


G-9 2022-01-21 12:05

No it's not but you can set a variable called
Q$=CHR$(34)
And use it like :
PRINT Q$+HI+Q$


was8bit 2022-01-21 12:08

You cannot, but there is a trick where you goto page 4 of your character pages, load a character set, and edit another character you dont use much to "look" like a " character..

In my attached example, i changed & to look like "

Testing a trick.nx | Open in app
2022-01-21 12:08

was8bit 2022-01-21 12:15

You can use this trick to create ANYTHING that you want to automatically pop up in a text string... you just have to remembet which character was changed to what...

Here is a second example...

Testing a trick 2.nx | Open in app
2022-01-21 12:15

AkiPot 2022-01-21 12:20

Ok, thanks for answers


Timo 2022-01-21 15:08 (Edited)

Or simply use the ' character ;)
It's not the same, but well.
And then you could alter the character as was8bit described...


Log in to reply.