True, I didn't read your post clearly.  I'm using this for email
attachments.  To do what you need to do is a little or a lot more difficult.
You can use list functions to separate the words at the space, adding words
until you are up to 70 characters, or choose an arbitrary length less than
seventy and add characters until you reach a space or punctuation mark.  You
could also use the CDONTS object to send the mail for you instead of CFMAIL
if you are on a Windows server.

tom

"Dennis Powers" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Tom,
>
> Thanks for the idea, but I am stuck with CF 4.0.1 at the moment.  However
> won't your function just insert at the 70th character regardless of
whether
> is falls within a word?  What I am trying to do is a "friendly" line
break.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to