I need help; this isn't working!

I need help; this isn't working!
0

#1

My Code isn’t working. Can anyone help?

var myStr ="FirstLine\n\SecondLine\\rThirdLine";


#2

Your backslash characters aren’t escaped. To include literal \ characters in a string, you should type \\.


#3

That helped. Thanks!