The Split(text, separator) function splits a text into an array of text values.

Syntax

Split(text, separator)

Returns

An array of text values split at each point where the separator occurs in the given text

Parameters

  • text – The text to split
  • separator – Specifies the character(s) to use for separating the text

Note: The separatoris case sensitive!

Examples

Split("Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec", ",")
/* Returns 12 text values "Jan", "Feb", "Mar" etc. */

Split("The quick brown fox jumps over the lazy dog.", " ")
/* Returns 9 text values "The", "quick", "brown", "fox" etc. */

Split("The Answer to the Ultimate Question of Life, The Universe, and Everything.", "The")
/* Returns 2 text values " Answer to the Ultimate Question of Life, ", " Universe, and Everything." */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company