These are all good steps in the right direction however, I haven't found 
anything that ties all this logic together. 

Logic
if first sentence is between 200-250 characters show that setence
if no sentence, show first 250 characters +...
if first sentence is less than 250 sentences, get as many sentences as possible 
before hitting 250 characters and output.

Has anyone built something like this?

Thanks

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:301962
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