Ryan: See if this will do for you: http://www.cflib.org/udf.cfm?ID=130
charlie ----- Original Message ----- From: "Ryan Mitchell" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, August 08, 2003 4:07 AM Subject: Cutting content... > Hello > > I'm outputting a summary of content stored in a database field, up to a > certain number of characters, but I want to make sure it doesn't cut off mid > word... > > At the minute I have : > > #Left(content, 255)# > > How do I make it so that if the last character is not a space it goes cuts > out all characters until the last space? > > TIA, > Ryan > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

