Re: Stripping last 4 characters from string

2001-12-19 Thread Tony Schreiber
ListGetAt(GetFontFamily,1,'.') > I have a variable #GetFontFamily# which displays the results "Garamond.fnt" > > How can I strip off the ".fnt" and only display "Garamond" on my page? > > Thanks > __ Get the mailserver that powe

Re: Stripping last 4 characters from string

2001-12-19 Thread Alex
left(variable,length(Variable)-4) On Wed, 19 Dec 2001, phumes1 wrote: > Hi, > > I have a variable #GetFontFamily# which displays the results "Garamond.fnt" > > How can I strip off the ".fnt" and only display "Garamond" on my page? > > Thanks >

RE: Stripping last 4 characters from string

2001-12-19 Thread Joshua Miller
: CF-Talk Subject: Re: Stripping last 4 characters from string Hi, I have a variable #GetFontFamily# which displays the results "Garamond.fnt" How can I strip off the ".fnt" and only display "Garamond" on my page? Thanks _

RE: Stripping last 4 characters from string

2001-12-19 Thread Larry Juncker
Larry Juncker Senior Cold Fusion Developer Heartland Communications Group, Inc. [EMAIL PROTECTED] -Original Message- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 8:46 AM To: CF-Talk Subject: Re: Stripping last 4 characters from string Hi, I have a

RE: Stripping last 4 characters from string

2001-12-19 Thread Dave Wilson
You could simply treat the string as a .delimited list and use ListFirst(GetFontFamily, '.') > -Original Message- > From: phumes1 [mailto:[EMAIL PROTECTED]] > Sent: 19 December 2001 14:46 > To: CF-Talk > Subject: Re: Stripping last 4 characters from string > &

RE: Stripping last 4 characters from string

2001-12-19 Thread Steve Martin
ListFirst(GetFontFamily, ".") > -Original Message- > From: phumes1 [mailto:[EMAIL PROTECTED]] > Sent: 19 December 2001 14:46 > To: CF-Talk > Subject: Re: Stripping last 4 characters from string > > > Hi, > > I have a variable #GetFontFamily# whi

Re: Stripping last 4 characters from string

2001-12-19 Thread phumes1
Hi, I have a variable #GetFontFamily# which displays the results "Garamond.fnt" How can I strip off the ".fnt" and only display "Garamond" on my page? Thanks __ Get the mailserver that powers this list at http://www.coolfusion.