Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
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.