Escape Quotation and comments | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Escape Quotation and comments

I need help with this code I have tried var myStr = I am a\ "double quoted" string inside \"double quotes".; Case test: You should use two double quotes (") and four escaped double quotes (\").

3rd Oct 2020, 3:18 PM
Isaac Hernandez Sanchez
Isaac Hernandez Sanchez - avatar
2 Answers
+ 6
var myStr = "I am a \"double quoted\" string inside \"double quotes\""
3rd Oct 2020, 3:36 PM
Danila Egorenko
Danila Egorenko - avatar
0
your string representation is wrong. so I can't understand your question
3rd Oct 2020, 3:37 PM
Kelvin Paul
Kelvin Paul - avatar