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

...

Array literal reference example:

ARRAYMERGEELEMENTS
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
arraymergeelements(["A","B","C","D"],"-")

arraymergeelements(["A","B","C","D"],"-")


Output:
 Generates a new column with  Returns the following String value in it"A-B-C-D"

Column reference example:

ARRAYMERGEELEMENTS
d-code-lang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
arraymergeelements([myValues) as:myValuesMergedTogether'

arraymergeelements([myValues)


Output:
 Generates the new myValuesMergedTogether column containing all of the elements in the arrays in the myElement column joined together without a delimiter between them.

D s
snippetSyntax

ARRAYMERGEELEMENTS
d-code-lang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
arraymergeelements(array_ref,my_element, [string_delimiter])

arraymergeelements(array_ref,my_element, [string_delimiter])

...