Thanks for the info, Charlie! Still working with those CF 4.5 ways. :o)
Thanks for bringing this luddite up-to-speed! Rick > -----Original Message----- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 07, 2007 1:52 PM > To: CF-Talk > Subject: Re: How do I get the characters after the last period in a string? > hi rick: > > a couple of things: > > 1) the 'file' scope has been deprecated in favor of 'cffile'. so you > should make an effort to reference cffile.serverfile instead of > file.serverfile. > 2) instead of messing with the list functions, you can use > cffile.clientFilename to get the name of the file (without the > extension). instead of messing with the list functions, you can use > cffile.clientFileExt to get the extension of the file. > > -- > Charlie Griefer > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292883 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4