Just put the variable where "/cfdocs/lifemoves/html/announcements.cfm"
is, without the quotes BTW

 
Robert Bailey
[EMAIL PROTECTED]
"Famous for nothing!"
http://www.tinetics.com
 
 


-----Original Message-----
From: Robert Bailey [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, January 11, 2003 8:50 PM
To: CF-Talk
Subject: RE: How do I pick out part of the string?


Then you can use listLast ("/cfdocs/lifemoves/html/announcements.cfm"  ,
"/") and will get the last one, as Marius said before, lol. Sorry, just
one to ask more questions then jump, was not sure if you were looking at
where it started in the string or just wanted the value. My bad :)

 
Robert Bailey
[EMAIL PROTECTED]
"Famous for nothing!"
http://www.tinetics.com
 
 


-----Original Message-----
From: Rick Faircloth [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, January 11, 2003 8:47 PM
To: CF-Talk
Subject: RE: How do I pick out part of the string?


Hi, Robert.

Yes, the string I'm looking for will change.

I'm setting up a stats log for page hits and
wanted to display just the page name, such as "announcements.cfm" or
"index.cfm" instead of the entire path.

So it does need to be dynamic...

I'd be asking CF to find the string after the last "/" in a path...

Rick



-----Original Message-----
From: Robert Bailey [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 11, 2003 11:37 PM
To: CF-Talk
Subject: RE: How do I pick out part of the string?


Is "announcements.cfm" going to change? Or just looking for it in the
path?

You can use Find() and FindNoCase()

Not sure what you are trying to do. Will the string change? Will it be a
different document every time? Like maybe
"/cfdocs/lifemoves/html/blah.cfm"?


Robert Bailey
[EMAIL PROTECTED]
"Famous for nothing!"
http://www.tinetics.com




-----Original Message-----
From: Rick Faircloth [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 11, 2003 8:32 PM
To: CF-Talk
Subject: How do I pick out part of the string?


Hi, all.

How do I pick out "announcements.cfm"
from this string:  "/cfdocs/lifemoves/html/announcements.cfm"  ???

Thanks,

Rick






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to