Nice one, thanks Mark. Haven't got time to try it right now, but will as soon as I have a sec.
Thanks for all the responses and suggestions guys... some really good tips that I'll definately take on board.
Cheers all :)
jb :)
_____________________________________________
From: [EMAIL PROTECTED]@AUS On Behalf Of Mark Woods <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 6:22 PM
To: CFAussie Mailing List
>What I'm looking for is suggestions as to how to break long words (ie,
>longer than 50 characters) into smaller words, by inserting spaces into
>the string. Currently, if I post a long word with no spaces into the DB,
>then it screws the table layouts on the page that displays the post, as
>the text won't wrap.
this will insert a space if one hasn't been found for 50 characters
REReplace(myString,"([^[:space:]]{50})","\1 ","all")
is that what you're looking for?
Mark
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
is intended only for the person or entity to which it is addressed.
The message may contain confidential and/or privileged material.
Any review, retransmission, dissemination or other use of, or taking
of any action in reliance upon this information, by persons or entities
other than the intended recipient is prohibited.
e-mail and associated material from any computer.
distribute the information contained in this e-mail and any attached files,
with the permission of the sender.
:
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
