Jeff,

I use Dan Switzer's parseUrl() function that is on CFLib.org. Works to pull out 
all the pieces of the URL plus some additional goodies that are very helpful.

http://www.cflib.org/index.cfm?event=page.udfbyid&udfid=1558

Thanks,
Paul

Paul Day
Principal / Developer

410.241.8465
mailto:[email protected]
http://www.nucomsolutions.com/

Try the demo / $30.00 - Buy now  

----------------------------------------

From: "Jeff Gamble" <[email protected]>
Sent: Thursday, July 29, 2010 10:47 AM
To: "cf-newbie" <[email protected]>
Subject: Looping through String With Multiple Replace Conditions 

I'm looking to loop through a url string to grab parse out http://, 
www.twitter.com, and twitter.com.

I thought of first using this:

I realized that this won't work of course. Need to use a cfloop I think. Any 
suggestions on syntax.

Thanks



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5053
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to