How about getdirectoryfrompath(cgi.script_name) ?

> -----Original Message-----
> From: Mark Leder [mailto:[EMAIL PROTECTED]
> Sent: Monday, 14 July 2003 11:49 a.m.
> To: CF-Talk
> Subject: Cgi.script_name
> 
> Hi all,
> 
> I have a cgi.script_name output as /contact/default.cfm
> 
> How do I strip the characters after the last "/" so I can place in a var
> as
> "/contact/" and use for further processing?
> 
> Thanks, Mark
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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

Reply via email to