here is what i did in a similar instance:
I will use your example though and it should work,
#Replace(stringname, "c:\webshare\wwwroot\site\", "")#"
that should strip all but filename.cfm

Kelly


> -----Original Message-----
> From: pan [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, May 19, 2000 2:31 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Strip directory path to get just file name
> 
> 
> From: cf kaizen <[EMAIL PROTECTED]>
> 
> > 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?
> > 
> 
> Hmmmm .... have you looked at the list functions?
> Your string is a list delimited by the "\" char.
> 
> Pan
> 
> 
> --------------------------------------------------------------------------
> ----
> 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