Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

D s
snippetBasic

URL literal examples:

HOST
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
host('http://www.example.com' ) as: 'myHost'

host('http://www.example.com')


Output:
Generates a column containing Returns the value www.example.com

Column reference example:

HOST
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
host(myURLs) as: 'myHost'

host(myURLs)

Output:

...

 Returns the

...

host values extracted from the myURLs column. 

D s
snippetSyntax

HOST
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
host(column_url)

host(column_url)


ArgumentRequired?Data TypeDescription
column_urlYstringName of column or String or URL literal containing the host value to extract

...