The string to be split and trimmed.
The delimiter to split the string by.
Optional parameter. If true, removes empty lines from the resulting array. Default is false.
strSplitAndTrim(" Hello ; world ; ". ";", true;
//=> ["Hello", "world"]
strSplitAndTrim(" Hello ; world ; ". ";", false;
//=> ["Hello", "world", ""]
Generated using TypeDoc
Splits a string by a specified delimiter and trims each resulting substring. Optionally, it can also remove empty lines.