Re: restricting cfoutput character length

2005-09-29 Thread Scott Weikert
Saturday (Stuart Kidd) wrote: Hi, I'm trying to do something which i can imagine is very simple but can't find the function. When i display a title cfoutput#myTitle#/cfoutput i'd like to just display the first 15 characters and if more then put three dots (periods). I know the LEN

RE: restricting cfoutput character length

2005-09-29 Thread Emmet McGovern
There are also a lot of great UDF's available for problems like this at http://www.cflib.org -e -Original Message- From: Scott Weikert [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 2:11 AM To: CF-Talk Subject: Re: restricting cfoutput character length Saturday (Stuart

RE: restricting cfoutput character length

2005-09-28 Thread Adrian Lynch
Left(myTitle, 15) Ade -Original Message- From: Saturday (Stuart Kidd) [mailto:[EMAIL PROTECTED] Sent: 28 September 2005 13:31 To: CF-Talk Subject: restricting cfoutput character length Hi, I'm trying to do something which i can imagine is very simple but can't find the function.

RE: restricting cfoutput character length

2005-09-28 Thread Rick Faircloth
Just put the three dots in as regular text on your page after the variable Stu gave you Left(myTitle, 15) ... Rick -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 8:39 AM To: CF-Talk Subject: RE: restricting cfoutput character

RE: restricting cfoutput character length

2005-09-28 Thread Tangorre, Michael
From: Saturday (Stuart Kidd) [mailto:[EMAIL PROTECTED] I'm trying to do something which i can imagine is very simple but can't find the function. When i display a title cfoutput#myTitle#/cfoutput i'd like to just display the first 15 characters and if more then put three dots

Re: restricting cfoutput character length

2005-09-28 Thread Joe Rinehart
cfoutput cfif len(myTitle) gt 15 #left(myTitle, 15)#... cfelse #myTitle# /cfif /cfoutput -Joe On 9/28/05, Stuart Kidd Saturday [EMAIL PROTECTED] wrote: Hi, I'm trying to do something which i can imagine is very simple but can't find the function. When i display a title

RE: restricting cfoutput character length

2005-09-28 Thread Rick Faircloth
Showoff! ;o) PS - Translates as Put the dots in after your variable as regular text... Rick -Original Message- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 8:42 AM To: CF-Talk Subject: RE: restricting cfoutput character length From

Re: restricting cfoutput character length

2005-09-28 Thread Saturday (Stuart Kidd)
- From: Tangorre, Michael [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 8:42 AM To: CF-Talk Subject: RE: restricting cfoutput character length From: Saturday (Stuart Kidd) [mailto:[EMAIL PROTECTED] I'm trying to do something which i can imagine is very simple but can't find