bear in mind the previous suggestions (while not incorrect) will
potentially cut off a word in the middle.  cflib.org has a few UDFs
that will make sure you return whole words.

http://cflib.org/udf.cfm?ID=1106
http://cflib.org/udf.cfm?ID=832
http://cflib.org/udf.cfm?ID=329

.... and more :)

On Mon, Mar 24, 2008 at 4:29 PM, Steve Bryant
<[EMAIL PROTECTED]> wrote:
> I think you want:
>  #Left(ListFirst(string,"."),100)#.
>  (untested)
>
>
>  > Instead of returning say just 100 characters. Is there a way to return
>  > the first sentence only if its under 100 characters, and if not then
>  > 100 characters resulting in a cut off string.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:301958
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to