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:

SUFFIX
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
suffix('http://www.example.com' ) as: 'myDomain'

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

Output:

...

Returns the value com

SUFFIX
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
suffix('http://www.exampl.e.com') as: 'myDomain'

...

suffix('http://www.exampl.e.com')

Output: Returns the value com

Column reference example:

SUFFIX
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
suffix(myURLs) as: 'myDomain'

suffix(myURLs)

Output:

...

 Returns the suffix values extracted from the myURLs column. 

D s
snippetSyntax

SUFFIX
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
suffix(column_url)

suffix(column_url)


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

...