The crackURL method returns the component parts of URL.
System.Object crackURL(System.String cURL);
cURL
URL
Returns the object, otherwise, null.
The return object contains the following properties:
cScheme: scheme of the URL (file, http or https).
cUser : (Optional) user name specified in the URL.
cPassword: (Optional) password specified in the URL.
cHost: URL hostname.
nPort: URL port number.
cPath: (Optional) URL path portion.
cQuery: (Optional) URL string portion.
cFragment: (Optional) URL fragments.
nURLType: 0 if cURL uses IPv4 and a value of 1 if cURL uses IPv6.
This method will throw an error if the URL is not correct.
Member of util.