Versions Compared

Key

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

...

Info
titleAvailability

This routine is available since starting with katl-commons 3.0.

Syntax

...

split(str, regex)

Description

...

Excerpt

Returns the array of strings computed by splitting this string around matches of the given regular expression.

Parameters

...

Parameter name

Type

Required

Description

str

string

Yes

Specifies the string which will be split

regex

string

Yes

The delimiting regular expression

Return type

...

string[]


Related routines

Filter by label (Content by label)
spacesSIL40
cqllabel = "regex" and space = "SIL"
labelsregex

Example

...

Example 1

...

Code Block
return split("boo:and:foo", ":");

Returns   { "boo", "and", "foo" }.

See also

...

Filter by label (Content by label)
showLabelsfalse
max100
showSpacefalse
cqllabel = "string_routines"
labelsstring_routines

...