extensions/helpers/string_helper library
Functions
-
tokenizeWithNewLines(
String str) → List< String> -
Splits a string
str
by new line characters ("\n"), preserving empty lines as separate tokens in the resulting array.
str
by new line characters ("\n"), preserving empty lines
as separate tokens in the resulting array.