Multiline Strings in ASP/VBScript

by "Doug Dossett" <hwg(at)miscsites.com>

 Date:  Fri, 7 Jun 2002 11:48:39 -0700
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
Hello all:

Let's say I have a block of code/text like:

<.blah>Text<./blah>
More Text

Even More Text

When assigning something like this to a variable I've always done something like:

strBlah = "<.blah>Text<./blah>" &_
	"More Text" & vbcrlf & vbcrlf &_
	"Even More Text"

Is there some better way of doing this?  I know in Perl and I think PHP you can just 
give it a special name (sorry can't remember exactly how at the moment) then just do 
something like:

strBlah = BLAH
<.blah>Text<./blah>
More Text

Even More Text
End BLAH

How can you do this in vbscript/ASP or is it just not possible?  Hopefully that all make 
sense. 

Thanks much,

Doug

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.