Skip to main content

URI.parse

URI.parseuri

Group: Conversions
Aliases: get uri

Documentation

Parse a URI from text. If the input text is not a valid URI, this function will separate the query string and encode it. If it still cannot be parsed, it will throw a Syntax_Error.

Arguments

  • uri: The text to parse as a URI.

Examples

Parse URI text.

      import Standard.Base.Network.URI.URI

example_parse = URI.parse "http://example.com"