ListLast(dir, "\")

HTH



-----Original Message-----
From: FlashGuy [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 3, 2002 13:30
To: CF-Talk
Subject: Stripping variable


Hi,

I have the following variable (which can change based on directory).
Below is the output from some examples:

dir = D:\mywork\temp
dir1 = D:\mywork\temp\dir1

How can I output only "temp" or "dir1" from the above variables?




---------------------------------------------------
Colonel Nathan R. Jessop
Commanding Officer
Marine Ground Forces
Guatanamo Bay, Cuba
---------------------------------------------------




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to