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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4