If I am outputting the first n characters of a string to a page, like this:
The quick brown fox jumped over... And I want to make sure I never get this: The quick brown fox jumped o.... Would I used RegEx? Or something else? What's the easiest way to make sure that that last bit of the string displayed is a whole word? Thanks, Ian Portent Interactive Helping clients build customer relationships on the web since 1995 Consulting, design, development, measurement http://www.portentinteractive.com Talk with us: http://projects.portentinteractive.com ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.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