Escaping Literal Quotes in Strings
See original GitHub issueHi there, I’m stuck here.
Challenge escaping-literal-quotes-in-strings has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
.
My code:
var myStr = "I am a \"double quoted\" string inside \"double quotes\"."; // Change this line
So, what’s the problem? I can’t complete this task because of this error:
You should use two double quotes (") and four escaped double quotes (").
But… I’m use them all, no?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Escaping Literal Quotes in Strings - Guide
Hint 1. When you need to use a special character such as " inside a string you need to escape it using \...
Read more >Escaping Literal Quotes in Javascript - Stack Overflow
use character code 34 ( String.fromCharCode(34) ) and concatanate; double escape "\\\""; use single quotes to quote double quotes '"'.
Read more >Escaping Literal Quotes in Strings - Scrimba.com
Learn to code with interactive screencasts. Our courses and tutorials will teach you React, Vue, Angular, JavaScript, HTML, CSS, and more.
Read more >How to Escape Quotes in a String using JavaScript | bobbyhadz
To escape a single or double quote in a string, use a backslash \ character before each single or double quote in the...
Read more >Escaping Literal Quotes in Strings | #JavaScriptTutorial
Escaping Literal Quotes in Strings | #JavaScriptTutorial · More from Kobci Aqoontaada · CSharp OOP || Constructors Part 2 || AfSomali · CSharp...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Do not
+1
as a comment. It leads to a lot of spam. Use the thumps up button instead.Please remove space before ""
var myStr= “I am a "double quoted" string inside "double quotes".”;