+ 1

Create a string containing double quotes

""

28th Jun 2019, 1:32 PM
Deepthi
Deepthi - avatar
3 Answers
+ 1
System.out.print("text with \"quotes\"..."); // java
28th Jun 2019, 1:37 PM
zemiak
0
In most languages, use the backslash. It's called escaping the quote: string a = "a \"quote\" here"; Or just start with single quotes for languages like JavaScript: let a = 'a "quote" here';
28th Jun 2019, 1:38 PM
Zeke Williams
Zeke Williams - avatar
0
Answer plz
28th Jun 2019, 1:41 PM
Deepthi
Deepthi - avatar