Treat the string as a list with "\" as a delimiter and you can manipulate it
how you want.

> -----Original Message-----
> From: Jeff [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 17, 2003 4:04 PM
> To: CF-Talk
> Subject: Quick Question...stripping out part of the Template Path
> 
> 
> How do most of you go about doing this?
> 
> If I wanted E:\Inetpub\wwwroot\MyDirectory\foo\MyPage.cfm to 
> simply insert
> "foo\MyPage.cfm" and it's coming from the 
> CGI.CF_Template_Path variable,
> should I use "remove()"? I thought about using 
> GetTemplateFromPath() but I
> need the directory information from which directory it is above it.
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to