Creates a new Uri object by parsing a URI string.
Creates a new Uri
object by parsing a URI string.
If start and end are provided, only the substring from start
to end
is parsed as a URI.
If the string is not valid as a URI or URI reference,
invalid characters will be percent escaped where possible.
The resulting Uri
will represent a valid URI or URI reference.