I need help; this isn't working!

My Code isn’t working. Can anyone help?

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

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

2 Likes

That helped. Thanks!