A - You can do exactly what you did. It won't crash CFAS 4.5. I don't know
about CFAS 4.0, etc.
B - Replace every enter there with the character sequence
#Chr(13)##Chr(10)# - This will insert a carriage return line feed character
pair. It is important that both be present as Windows can have problems
rendering the HTML without both (only selected old browsers, but it is good
practice).
Russel
============================================================
Russel Madere, Jr. Senior Web Developer
ICQ: 5446158 http://www.TurboSquid.com
Some days you eat the bear; some days the bear eats you.
============================================================
> -----Original Message-----
> From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 17, 2001 11:03
> To: CF-Talk
> Subject: setting multi line strings
>
>
> Is there a way to set multi line strings in CF. For example I
> have a piece
> of html and i want to set it to a variable. Something like this
>
> <CFSET myhtml="
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
> <html>
> <head>
> <title>Untitled</title>
> </head>
>
> <body>
>
>
>
> </body>
> </html>">
>
> Is there a way to accomplish this?
>
> Ruslan Sivak
> Technologist
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists