public URL(spec as String) throws MalformedURLException:
Parses a URL string.
spec
import klyn.net url = URL("https://example.com/index.html") print(url.path)