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 example:

D code

derive type:single value: SUBDOMAIN('http://www.example.com' ) as: 'myDomain'

Output: Generates a column containing the value www

D code

derive type:single value: SUBDOMAIN('http://www.exampl.e.com') as: 'myDomain'

...

Output: Returns the value: www

Output: Returns the value: www.exampl. 

Column reference example:

D code

derive type:single value: SUBDOMAIN(myURLs) as: 'myDomain'

...

Output: Returns the subdomain values extracted from the myURLs column. 

D s
snippetSyntax

D code

derive type:single value: SUBDOMAIN(column_url)


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

...