Re: getting host and path from url

2005-12-09 Thread Michael Spencer
Steve Young wrote: > Hi, this is probably an easy question but is there a way to get the host and > path seperatly out of an url? > > Example: > > url = http://news.yahoo.com/fc/world/iraq > > and i want some way of getting: > > host = http://news.yahoo.com > and > path =

getting host and path from url

2005-12-09 Thread Steve Young
Hi, this is probably an easy question but is there a way to get the host and path seperatly out of an url? Example:url = "">and i want some way of getting:host = http://news.yahoo.com and path = /fc/world/iraqthanks.-Steve   Yahoo! Shopping Find Great Deals on Holi