+ 1

How to create a string containing double quote?

23rd Jun 2017, 6:19 AM
Prathamesh Rokade
Prathamesh Rokade - avatar
2 odpowiedzi
+ 4
use single quotes for the quoted text while using double quotes for whole the string
23rd Jun 2017, 6:30 AM
Yasiru Nayanajith
Yasiru Nayanajith - avatar
+ 1
Use either @Yasiru Theekshana's solution or use '\' juste before the double quote like that : "The knight who says \"Ni\""
23rd Jun 2017, 7:45 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar