Versions Compared

Key

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

Syntax

TOKENIZELIST(<string>;<Separator string>;<number>)

Description

Tokenizes text returning a list of values or a specified element as a stringA blank string returns a blank list item.

Examples

Column1Example TOKENIZELIST functionTOKENIZELIST returns
a b c d e fTOKENIZELIST(#RawData!Column1;" ")[a, b, c, d, e, f]
Datameer is great!TOKENIZELIST(#RawData!Column1;" ")[Datameer, is, great!]
Datameer-is-great!TOKENIZELIST(#RawData!Column1;"-")

[Datameer, is, great!]

a b c d e fTOKENIZELIST(#RawData!Column1;" ";3)d


If the separator value is followed by the same separator value, an empty value is returned in the list.

Column1Example TOKENIZELIST functionTOKENIZELIST returns
a-b-c-d-e- -fTOKENIZELIST(#RawData!Column1;"-")[a, b, c, d, e, , f]
aaaTOKENIZELIST(#RawData!Column1;"a")[, , ,]