-
Parse domain from a URL
I'm trying to find out if anybody has written a function that will parse just the domain name from a URL. For example, where the URL =
www.yahoo.com/Computers_and_Internet/
the function would then return:
www.yahoo.com
Am I crazy, or has somebody written this before? If so, is there some code that I can leverage in finding a solution? Thanks in advance.....
- Eric
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|