JavaScript Forum JS Made Easy: Free JavaScripts Tutorials Example Code
About This Product
FontsMadeEasy.com
 
The Business Internet
Find it on This page:
 
| Over 5000 Free Fonts | Tutorials | Javascript Forum | Other Javascript Resources | Cheat Sheet

     
Jsmadeeasy Forums Home   Search   Login   Register   Member List  
JS Made Easy  > JavaScript programming  > Line folding in Javascript  
 
Display using:  
Previous Thread :: Next Thread 
 Author Thread: Line folding in Javascript
lolena1888 is not online. Last active: 12/15/2005 6:22:13 AM lolena1888
Joined: 13 Dec 2005
Total Posts: 1
 
Line folding in Javascript
Posted: 13 Dec 2005 10:21 PM
Does anyone know how to make line folding in JS?

For example:
myString='aaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbb
cccccccccccccccccccccc'

What do I need to add to the line that JS understands that myString is equal
'aaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbcccccccccccccccccccc' ?
Anthony is not online. Last active: 12/27/2005 9:01:27 AM Anthony
Top 50 Poster
Joined: 27 Dec 2005
Total Posts: 4
 
Re: Line folding in Javascript
Posted: 27 Dec 2005 08:13 AM
I think you are after this...

myString='aaaaaaaaaaaaaaaaaaa' +
'bbbbbbbbbbbbbbbbbbb' +
'cccccccccccccccccccccc'
Previous Thread :: Next Thread 
Page 1 of 1
 
Jsmadeeasy.com  > JS Made Easy  > JavaScript programming  > Line folding in Javascript