Forgot something the url may contain a port number too (ie "http://subdomain.sps.mot.com:30")
Patrick Gormley -----Original Message----- From: Gormley Patrick-r34220 Sent: Thursday, June 05, 2003 12:04 PM To: CF-Talk Subject: parse url Hi, Can someone help with extracting a host from an url Example: http://subdomain.sps.mot.com/asdf/file.cfm <http://subdomain.sps.mot.com/asdf/file.cfm> to just subdomain.sps.mot.com Patrick Gormley ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

