This is what I used:
<cfset pathDir="#GetDirectoryFromPath(CGI.PATH_TRANSLATED)#">
<cfset trimpathDir=listdeleteat(#pathDir#, listlen(#pathDir#,'/'), '/')
& "/">
Adding the final "/" at the end turned out to be key.
--
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL PROTECTED]
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Trimming a string after last instance of / characte... Richard Crawford
- Re: Trimming a string after last instance of /... Ben Doom
- RE: Trimming a string after last instance of /... Stevenson, Christopher
- Re: Trimming a string after last instance ... Richard Crawford
- Richard Crawford