Split

Splits a string into substrings.

Syntax

split(String, String)
split(String, String, Boolean)

Description

Given two strings A and B, split string ALaTeXA by the expression BLaTeXB. The output is a list with the substrings as elements.

calc.split1.calc.png

Given two strings ALaTeXA and BLaTeXB and a boolean b, if the value of bLaTeXb is true, it is the same as above; if bLaTeXb is false, empty strings "" are omitted. The output is a list with the substrings as elements.

calc.split2.calc.png