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 > > > 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.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

