View Single Post
01-09-2009, 02:02 PM
#2
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

If you end the lines with a backslash character, you can span multiple lines.

Code:
var someVar = 'One line \
two line \
Three lines and so on';
If you want newline characters, you'll have to add those in as well.