Loading

SPLIT

strings

The SPLIT function split a string in segments given a delimiter.

It consumes two parameters from the top of the stack: the delimiter and the string to test matching with. The delimiter must be a string of length 1, i.e. only one character.

The function will return a list with all the segments. If delimiter is not found, the output list contains the input string.

SPLIT is available since version 1.0.0.

Signatures

Examples

'Hello Mr, how are you ?' ' ' SPLIT 'HOH' 'H' SPLIT