Escape Sequences in Strings - Stuck at this for hours :/

yes instead of writing “” you were writing ““

1 Like


Here you go!

is it working ??? :face_with_raised_eyebrow:

1 Like

Nope. its not :confused:

like i seeing in your image you are always using the same quotes change them to " "

look at the diffrence:
var myStr=”FirstLine\n\t\SecondLine\nThirdLine”; // Change this line
it should be
var myStr= “FirstLine\n\t\SecondLine\nThirdLine”; // Change this line

please mark my response as a solution

1 Like

Your solution is not apt, check it again lol xD
You did the same mistake as i did lmao

you have changed the quotes and it is always not working ??

1 Like

Nope dude. Check your above statement which you wanted me to mark as solution, you did not change the quotes.

ok if you are not seeing the diffrence please try to change the double"" quotes to single quotes ’ ’

I completed the test bro, by your solution only. Thanks!
But what i am trying to tell you is that, your reply 12-13 minutes ago (which you wanted me to mark as a solution), is not apt. Check it and edit again. :smiley:

ok :slightly_smiling_face: and now you can mark my second solution as apt

Errrr? Couldn’t get you.