It's not exactly clear to me how you want to extract www.abcd.com.ppt from www.abcd.com/search, or www.efgh.in.doc from www.efgh.in#found... (looks like the .ppt and .doc should rather come from the content type of the page; also, what if there is more than one URL with the same host part?)
Anyhow, maybe the URI module could help. It provides various methods for getting the path, etc. components of an URL.
In reply to Re: Split Help
by almut
in thread Split Help
by keeper12
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |