Skip to end of banner
Go to start of banner

split

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Availability

This routine is available since katl-commons 3.0 .

Syntax:

split(str, regex)

Description:

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

There are no items with the selected labels at this time.


Example:

Example 1:

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

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

See also:

 

  • No labels