Login | Register | FAQ
Anonymous

JavaScript String

+ Post a reply

5 posts Page 1 of 1


JavaScript String

by Chikwado » Fri Mar 27, 2015 9:31 pm

User avatar

Chikwado

  • Posts: 94
  • Joined: Mon Jul 29, 2013 11:36 pm
  • Location: Nigeria
--
Focus On Advance Science And Programming.

Re: JavaScript String

by nanoverso » Sat Mar 28, 2015 1:57 am

Adding a backslash at the end of each line tells the JavaScript engine that the string will continue to the next line.
User avatar

nanoverso

  • Posts: 254
  • Joined: Sat May 10, 2014 12:08 am
  • Location: Brazil

Re: JavaScript String

by XainPro » Sat Mar 28, 2015 8:09 am

you can use + like this

var myText="my javascript"+
"text";
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: JavaScript String

by johnmacd » Fri Apr 15, 2016 12:56 pm

The solution to avoid this problem is to use the \ escape character.
User avatar

johnmacd

  • Posts: 23
  • Joined: Thu Jun 13, 2013 12:50 pm
--
Website Designer with 7 years experience as WordPress Developer. Affordable, Professional and Experienced. 100% Satisfaction. 24/7 Available.

Re: JavaScript String

by patsm00re18 » Thu Sep 05, 2019 12:49 am

Its difficult to find informative and accurate info but here I found… kzi
User avatar

patsm00re18

  • Posts: 13
  • Joined: Wed Aug 07, 2019 12:54 pm


+ Post a reply

Page 1 of 1