How can i create a string containing a double quote | Sololearn: Learn to code for FREE!
+ 1

How can i create a string containing a double quote

>>>>>>" "

12th Feb 2020, 10:02 PM
Peter Emmanuel
Peter Emmanuel - avatar
4 Answers
+ 3
Blitzkriegster It's "\"" and not "/""
12th Feb 2020, 10:49 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
I believe the easiest way to do this is to put a backslash in front of the quote. I know this works for python, Im not sure past that. "/""
12th Feb 2020, 10:06 PM
Blitzkriegster
Blitzkriegster - avatar
0
How can I create a string containing a double quote
12th Feb 2020, 10:03 PM
Peter Emmanuel
Peter Emmanuel - avatar
0
Thanks
13th Feb 2020, 11:27 PM
Peter Emmanuel
Peter Emmanuel - avatar