Double quotes | Sololearn: Learn to code for FREE!


Double quotes

How do i create a string with 2 quotes

1/6/2018 9:06:40 PM


6 Answers

New Answer


depending on the language you can either escape the double quotes or put them inside single quotes


Which language ?



It's considered a good practice to tag the language you're asking about. As for the double quotes, different languages may use different approaches, but it's most likely either an escape character like "here goes \" symbol" or doubled quote like "here goes "" symbol". Try googling something like 'escaping quotes in language_x'.


In most cases, \” keeps the β€œ in the string.


In html but i have figured it out now thank you guys