Thanks much Doug...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:16 AM
To: CF-Talk
Subject: RE: limit display of text

as with most all programming langs, CF has String functions Left(), Right(), and Mid().  So for what you want to do, something like this will do
#Left(report.maint_report_task,25)#...

see http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi17.htm#wp1099887

Doug

-----Original Message-----
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:05 AM
To: CF-Talk
Subject: limit display of text

I have a filed, #report.maint_report_task#, that will be displayed via a <cfoutput>. How can I display just a portion of what the field contains?

If it contains: "blah, blah, blah, blah" Because of display constraints, I want it to just display a portion with the three periods after it: "blah, blah...".

Does the trim function factor into this?

Robert O.
  _____
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to