The file name is available to you if you want it. So no need to do any trimming.
Adrian -----Original Message----- From: Pete [mailto:[EMAIL PROTECTED] Sent: 28 February 2007 10:36 To: CF-Talk Subject: RE: Saving the name of an attached file to the DB OK I know what I am getting - I am getting more than the filename I am getting: c:wwwrootdrzachariauploadssanta2.jpg - where Santa2.jpg is the filename I should be able to perform a trim on the first 26 characters thereby just have remaining the filename. I'm just not sure what the correct format of the trim would be I think it might be something like #RTrim(26,filename)# Just cant find anything that shows the correct syntax Thanks in advance P ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270930 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

