Hi all,
How about getdirectoryfrompath(cgi.script_name) ?
Yep, works. hadn't thought of that one.
I think that works... there's also
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
How about getdirectoryfrompath(cgi.script_name) ? ----- Excess quoted text cut - see Original Post for more -----
Yep, works. hadn't thought of that one. Thanks, Mark How about getdirectoryfrompath(cgi.script_name) ? ----- Excess quoted text cut - see Original Post for more -----
I think that works... there's also rereplace(cgi.script_name,"(.*/).*","\1") ----- Excess quoted text cut - see Original Post for more ----- s. isaac dealey 972-490-6624 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi team macromedia volunteer http://www.macromedia.com/go/team certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816
My Toll Free 800 Number provides a vanity phone number service to clients who want more than just digits. How would you like 800-coldfusion?
www.MyTollFree800Number.com