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>&gt; Subject: A replace question</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; How can I dynamically convert:</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; d:\songs\..\drip\manual.txt</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; to:</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; d:\drip\manual.txt</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>try something like</FONT>
</P>

<P><FONT SIZE=3D2>&lt;cfset =
uppos=3Dlistfind(pathstring,&quot;..&quot;,&quot;\&quot;)&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;cfif uppos gt 0&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;cfset =
pathstring=3Dlistdeleteat(pathstring,uppos,&quot;\&quot;)&gt;</FONT>
<BR><FONT SIZE=3D2>&lt;cfset =
pathstring=3Dlistdeleteat(pathstring,(uppos-1),&quot;\&quot;)&gt;</FONT>=

<BR><FONT SIZE=3D2>&lt;/cfif&gt;</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; or:</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; d:\Songs\Music\K\..\B\Buffett, =
Jimmy\Song.mp3</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; to:</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; d:\Songs\Music\B\Buffett, Jimmy\Song.mp3</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; ?</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; I'm having a complete brain lapse!</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; Russel Madere, Jr.</FONT>
<BR><FONT SIZE=3D2>&gt; Web Developer</FONT>
<BR><FONT SIZE=3D2>&gt; TurboSquid</FONT>
<BR><FONT SIZE=3D2>&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; &quot;Be good and you will be lonesome.</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; Be lonesome and you will be free.</FONT>
<BR><FONT SIZE=3D2>&gt;&nbsp; Live a lie and you will live to regret =
it.&quot;</FONT>
<BR><FONT =
SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; Jimmy Buffett</FONT>
<BR><FONT =
SIZE=3D2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; That's What Living Is To Me</FONT>
<BR><FONT SIZE=3D2>&gt; =
------------------------------------------------------------------</FONT=
>
<BR><FONT SIZE=3D2>&gt; ------------</FONT>
<BR><FONT SIZE=3D2>&gt; 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>&gt; 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.

Reply via email to