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
>
>
>

______________________________________________________________________
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to