Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The SPLIT-URL directive splits a URL into protocol, authority, host, port, path, filename, and query.

Syntax

Code Block
split-url :column

The column is a column containing the URL.

Usage Notes

The SPLIT-URL directive will parse the URL into its constituents. Upon splitting the URL, the directive creates seven new columns by appending to the original column name:

...

If the URL cannot be parsed correctly, an exception is throw. If the URL column does not exist, columns with a null value are added to the record.

Examples

Using this record as an example:

...