Try this,

ListFirst("http://www.foobar.com/images/screwy.gif";, "/")

Dave


----- Original Message -----
From: "Tim Claremont" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 23, 2002 2:59 PM
Subject: String Manipulation help needed


I have the following string:

http://www.foobar.com/images/screwy.gif

I want to return everything before the third /

In other words, I want to retrieve the following:

http://www.foobar.com


I am sure there is a simple string function. What am I missing?

T


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to