This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------ =_NextPart_001_01BFBAD3.69F193EE
Content-Type: text/plain
> Subject: A replace question
>
>
> How can I dynamically convert:
>
> d:\songs\..\drip\manual.txt
>
> to:
>
> d:\drip\manual.txt
>
try something like
<cfset uppos=listfind(pathstring,"..","\")>
<cfif uppos gt 0>
<cfset pathstring=listdeleteat(pathstring,uppos,"\")>
<cfset pathstring=listdeleteat(pathstring,(uppos-1),"\")>
</cfif>
> or:
>
> d:\Songs\Music\K\..\B\Buffett, Jimmy\Song.mp3
>
> to:
>
> d:\Songs\Music\B\Buffett, Jimmy\Song.mp3
>
> ?
>
> I'm having a complete brain lapse!
>
>
> Russel Madere, Jr.
> Web Developer
> TurboSquid
>
> "Be good and you will be lonesome.
> Be lonesome and you will be free.
> Live a lie and you will live to regret it."
> Jimmy Buffett
> That's What Living Is To Me
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
the body.
------------------------------------------------------------------------
----
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
the body.
------------------------------------------------------------------------
------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------ =_NextPart_001_01BFBAD3.69F193EE
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.1960.3">
<TITLE>RE: A replace question</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>> Subject: A replace question</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> How can I dynamically convert:</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> d:\songs\..\drip\manual.txt</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> to:</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> d:\drip\manual.txt</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>try something like</FONT>
</P>
<P><FONT SIZE=3D2><cfset =
uppos=3Dlistfind(pathstring,"..","\")></FONT>
<BR><FONT SIZE=3D2><cfif uppos gt 0></FONT>
<BR><FONT SIZE=3D2><cfset =
pathstring=3Dlistdeleteat(pathstring,uppos,"\")></FONT>
<BR><FONT SIZE=3D2><cfset =
pathstring=3Dlistdeleteat(pathstring,(uppos-1),"\")></FONT>=
<BR><FONT SIZE=3D2></cfif></FONT>
</P>
<BR>
<P><FONT SIZE=3D2>> or:</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> d:\Songs\Music\K\..\B\Buffett, =
Jimmy\Song.mp3</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> to:</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> d:\Songs\Music\B\Buffett, Jimmy\Song.mp3</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> ?</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> I'm having a complete brain lapse!</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> Russel Madere, Jr.</FONT>
<BR><FONT SIZE=3D2>> Web Developer</FONT>
<BR><FONT SIZE=3D2>> TurboSquid</FONT>
<BR><FONT SIZE=3D2>></FONT>
<BR><FONT SIZE=3D2>> "Be good and you will be lonesome.</FONT>
<BR><FONT SIZE=3D2>> Be lonesome and you will be free.</FONT>
<BR><FONT SIZE=3D2>> Live a lie and you will live to regret =
it."</FONT>
<BR><FONT =
SIZE=3D2>>  =
;  =
; Jimmy Buffett</FONT>
<BR><FONT =
SIZE=3D2>>  =
;  =
; That's What Living Is To Me</FONT>
<BR><FONT SIZE=3D2>> =
------------------------------------------------------------------</FONT=
>
<BR><FONT SIZE=3D2>> ------------</FONT>
<BR><FONT SIZE=3D2>> Archives: <A =
HREF=3D"http://www.eGroups.com/list/cf-talk" =
TARGET=3D"_blank">http://www.eGroups.com/list/cf-talk</A></FONT>
<BR><FONT SIZE=3D2>> To Unsubscribe visit</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or</FONT>
<BR><FONT SIZE=3D2>send a message to [EMAIL PROTECTED] =
with 'unsubscribe' in</FONT>
<BR><FONT SIZE=3D2>the body.</FONT>
</P>
<BR>
<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
-------------</FONT>
<BR><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.eGroups.com/list/cf-talk" =
TARGET=3D"_blank">http://www.eGroups.com/list/cf-talk</A></FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or</FONT>
<BR><FONT SIZE=3D2>send a message to [EMAIL PROTECTED] =
with 'unsubscribe' in</FONT>
<BR><FONT SIZE=3D2>the body.</FONT>
</P>
<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.eGroups.com/list/cf-talk" =
TARGET=3D"_blank">http://www.eGroups.com/list/cf-talk</A></FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit <A HREF=3D"http://www.houseoffus=
ion.com/index.cfm?sidebar=3Dlists&body=3Dlists/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the =
body.</FONT></P>
</BODY>
</HTML>
------ =_NextPart_001_01BFBAD3.69F193EE--
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.