do a ListLast("c:\webshare\wwwroot\site\filename.cfm", "\").

Chris Olive
DOHRS Website Administrator
[EMAIL PROTECTED]


-----Original Message-----
From: cf kaizen [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 19, 2000 12:41 PM
To: [EMAIL PROTECTED]
Subject: Strip directory path to get just file name


Hi All,

If my value in a string is 

c:\webshare\wwwroot\site\filename.cfm

, how I just strip it down so I can dump filename.cfm
into a variable?

I am thinking that I should access the above string
from the right side, looping through each character
until I get to the first "\". However, I don't know
where to start with the code (and, I left both cfwacks
books at home :(

Any help is very much appreciated!

Thanks!
Andy

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to