Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
Hey guys. I have a, what I guess is a, simple question. How would I use the character " in a string?
Outputs (for example):
start /wait cmd /C slet_bruger_auto lbd[/code:2oz2y8gh]
But I want this output:
[code:2oz2y8gh]start "lbd" /wait cmd /C slet_bruger_auto "lbd"[/code:2oz2y8gh]
Develop games in your browser. Powerful, performant & highly capable.
Double your double quotes.
"Hello" obviously just gives you: Hello
"""Hello""" would give you the output: "Hello"
"Hello ""Friend""" would give you the output: Hello "Friend"
ah I knew it was something simple. Thank you
I already tried doing this: \" because that's how I do it in PHP. It changed the color of the string but still didn't work.