Ahh... PATH_TRANSLATED.

You're right (not that you need me to tell you this), PATH_TRANSLATED will
use backslashes.  Wasn't the original question about a URL, tho?

Confused in CF-Talk

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: Larry Juncker [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 2:14 PM
> To: CF-Talk
> Subject: RE: How to get directory from full URL?
>
>
> And here is my example, based on the question at hand:
>
> Path_Translated = F:\Websites\4ComPart\IMT_GetsResults\getReturns.cfm
> Reverse(Path_Translated) =
> mfc.snruteRteg\stluseRsteG_TMI\traPmoC4\setisbeW\:F
> Reverse(ListRest(Reverse(PATH_TRANSLATED),"\\")) =
> F:\Websites\4ComPart\IMT_GetsResults
>
> Larry Juncker
> Senior Cold fusion Developer
> Heartland Communications Group, Inc.
> [EMAIL PROTECTED]
> (515) 574-2122
>
> CONFIDENTIALITY NOTICE
> The information contained in this e-mail is intended only for the
> use of the
> individual or entity to which it is addressed.  This e-mail may contain
> information that is privileged, confidential and/or personal.  If
> the reader
> of this message is not the intended recipient (or the employee or agent
> responsible to deliver it to the intended recipient), you are hereby
> notified that any dissemination, distribution, or copying of this
> communication is prohibited.
>
> If you have received this communication in error, please notify us at the
> e-mail listed above.
>
> -----Original Message-----
> From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 12:56 PM
> To: CF-Talk
> Subject: RE: How to get directory from full URL?
>
>
> Pardon?  Reversed the delimiter?
>
> Reverse simply changes the order of the characters.  It doesn't
> hold them up
> to a mirror and get new characters.
>
> Reverse("/") = /
> Reverse("\") = \
> Reverse("/\") = \/
> Reverse("\/") = /\
>
> --
> Mosh Teitelbaum
> evoch, LLC
> Tel: (301) 625-9191
> Fax: (301) 933-3651
> Email: [EMAIL PROTECTED]
> WWW: http://www.evoch.com/
>
>
> > -----Original Message-----
> > From: Larry Juncker [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 01, 2002 1:34 PM
> > To: CF-Talk
> > Subject: RE: How to get directory from full URL?
> >
> >
> > Actually, the way that works with testing is:
> >
> > #Reverse(ListRest(Reverse(PATH_TRANSLATED),"\\"))#
> >
> > You have reversed the string, therefore, you have reversed the
> > delimiter.....
> >
> > Just my two cents...
> >
> > Larry Juncker
> > Senior Cold fusion Developer
> > Heartland Communications Group, Inc.
> > [EMAIL PROTECTED]
> > (515) 574-2122
> >
> > CONFIDENTIALITY NOTICE
> > The information contained in this e-mail is intended only for the
> > use of the
> > individual or entity to which it is addressed.  This e-mail may contain
> > information that is privileged, confidential and/or personal.  If
> > the reader
> > of this message is not the intended recipient (or the employee or agent
> > responsible to deliver it to the intended recipient), you are hereby
> > notified that any dissemination, distribution, or copying of this
> > communication is prohibited.
> >
> > If you have received this communication in error, please notify
> us at the
> > e-mail listed above.
> >
> > -----Original Message-----
> > From: Kevin Graeme [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 01, 2002 11:34 AM
> > To: CF-Talk
> > Subject: RE: How to get directory from full URL?
> >
> >
> > > Reverse(ListRest(Reverse(fullurl),"/"))
> >
> > Oooh, that's just durn purty.
> >
> > Kevin Graeme
> >
> >
> >
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to