You could use...

URL.filename = ListDeleteAt(URL.filename, ListLen(URL.filename, "\"),
"\")

HTH



-----Original Message-----
From: phumes1 [mailto:[EMAIL PROTECTED]] 
Sent: 20 February 2002 16:51
To: CF-Talk
Subject: R: Strip from string


Hi,

I have the following text which I'm passed as a URL.filename

d:\dir1\dir2\dir3\test.txt

How can I strip the "test.txt" from the above line?


______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to