> I am taking some date and doing some manipulation on it and
> would like to
> add carriage returns at the end then save in the database.
>
> <cfset NewLine = chr(10)>
> <cfset variables.additional_info = "Education Experience: " &
> #newline# & #variables.ed_ex# & #newline#>
>
> Should this work?

The ASCII character for carriage return is Chr(13). Chr(10) is line feed. On
Windows platforms, you generally would use both:

<CFSET NewLine = Chr(13) & Chr(10)>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to