Awesome. This is perfect, and exactly what I was looking for. Thanks a lot.
> <cfif len(somestring) GTE 50> > <cfset newstring = left(somestring, 50)> > <cfelse> > <cfset newstring = somestring> > </cfif> > > Given that somestring is greater than, equal to 50, set a newstring > equal to the first 50 characters. > > Matthew Williams > Geodesic GraFX > www.geodesicgrafx.com/blog ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300940 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

