uce/site/doc/pages/split_space.txt
2026-06-16 12:21:31 +00:00

19 lines
380 B
Plaintext

:sig
StringList split_space(String str)
:params
str : string to be split
return value : a list of strings
:see
>string
:content
Splits `str` on runs of whitespace.
Multiple adjacent whitespace characters are treated as a single separator, so repeated spaces, tabs, or line breaks do not create empty entries.
:example
print(join(split_space("one two\tthree"), ","), "\n");