Do we have to write our own or is there a set of functions to extract the various parts of a URL, protocol,host,path etc

i.e. given

h ttps://support.dataaccess.com/Forums/newthread.php?do=newthread&f=6

something like

https
support.dataaccess.com
Forums/newthread.php
do=newthread&f=6

i.e. very similar to ExtractFile, ExtractExtn etc