Versions Compared

Key

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

Syntax

NGRAM(<string, list>;<number for length>;<number for length>;<number for length>;....)

Description

Returns sub-sequences of N characters of a given text. To see sub-sequences of N words of a given text, refer to NGRAM_OLDDatameer X tries to match the entire record without automatically adding or to the regular expression. But if the record has multiple lines, then this must be accounted for with (?s) or line terminators.

Example

Data (string)
Datameer X is the best.

NGRAM(#RawData!StringColumn;3)

NGRAM() returns
Dat
ata
tam
ame
mee
eer
er
r i
is
is
s t
th
the
he
e b
be
bes
est
st.