CuriousGeorge
New member
Hi I have a fairly big chunk of asp variable sprinkled HTML in my ASP script which I want to assign into a string (so I can JMail it) I was just wondering how you do that in ASP, without doing like:
myASPString = "<html var=""blah"" var=""blah"">" & myASPBlah "<html var=""blah"" var=""blah"">"
..
and so on.. I am lazy, I don't lile having to double quote everything, like in Perl I would just do a HEREDOC like this:
$myPerlString = <<END;
<html var="blah" var="blah>
...
$myInterpolatedPerlStringsEtc
</html>
END
and I would have the interpolated html in myPerlVar..
Can you do this or similar in ASP? I thought you could using the delimeters and stuff I just can't remember how.
Thanks.
Basically, whats the easiest way to store a block of html & asp includes in a ASP string? (WITHOUT NEEDING TO ESCAPE STUFF..)
myASPString = "<html var=""blah"" var=""blah"">" & myASPBlah "<html var=""blah"" var=""blah"">"
..
and so on.. I am lazy, I don't lile having to double quote everything, like in Perl I would just do a HEREDOC like this:
$myPerlString = <<END;
<html var="blah" var="blah>
...
$myInterpolatedPerlStringsEtc
</html>
END
and I would have the interpolated html in myPerlVar..
Can you do this or similar in ASP? I thought you could using the delimeters and stuff I just can't remember how.
Thanks.
Basically, whats the easiest way to store a block of html & asp includes in a ASP string? (WITHOUT NEEDING TO ESCAPE STUFF..)