Double quotes | Sololearn: Learn to code for FREE!

+1

Double quotes

How do i create a string with 2 quotes

1/6/2018 9:06:40 PM

Mathias0709

6 Answers

New Answer

+10

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

+4

Which language ?

+3

+2

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'.

+1

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

0

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