- Index
- »
- axon
- »
- func:parseUri
def
func:parseUri
parseUri(val, checked: true)
Parse a string into a Uri instance. If the string cannot be parsed into a valid Uri and checked is false then return null, otherwise throw ParseErr. This function converts an URI from standard form. Use uriDecode()
to convert a string from escaped form. See Uri
for a detailed discussion on standard and escaped forms.
Examples:
"foo bar".parseUri >> `foo bar` "foo%20bar".uriDecode >> `foo bar`