Give this a whirl:

REreplace(myString, "([^ #chr(9)##chr(10)##chr(13)#-]{72})", "\1 ", "all")

cheers,
barneyb

On 8/2/05, Rick Root <[EMAIL PROTECTED]> wrote:
> Hi folks... I have an application that is sort of like a guestbook that
> I threw together, and when people type in long strings without spaces,
> it messes up my template.
> 
> What's the best way to prevent that?
> 
> I was thinking about looping through a comment as a list with a space
> delimiter, and looking for strings longer than X characters.  That'd
> probably work I'm just wondering if anyone has dealt with this issue and
> had their own solution.
> 
> Thanks
> 
> Rick
>


-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213522
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to