Here's a suggestion:


<cfset theString = Left(FullStory,'150')>
<cfset getStringLen = ListLen(theString, " ")>
<cfset theString = ListDeleteAt(theString, getStringLen, " ")>

<cfoutput>
#theString#<br>
<a href="fullstory.cfm?story_id=#story_id#">Full Story</a>
</cfoutput>




> -----Original Message-----
> From: Terry [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 02, 2003 4:56 PM
> To:   CF-Talk
> Subject:      Outputing part of memo field
> 
> I need to output only about the 1st 150 characters of a memo field, but
> want to break it at a space and then have a link to the entire story.
> 
> I know I can figure this out, but if anyone can help me save a few hours
> I'd appreciate it.
> 
> thx
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to