split_space

This commit is contained in:
udo
2022-01-30 12:19:20 +00:00
parent 17336fe649
commit 5df52146be
4 changed files with 14 additions and 3 deletions
View File
+1 -3
View File
@@ -1,11 +1,9 @@
:sig
StringList split(String str, String delim)
StringList split(String str)
:params
str : string to be split
delim : optional, delimiter (if omitted, any sequence of whitespace characters will count as a delimiter)
delim : delimiter
return value : a list of strings
:desc
+12
View File
@@ -0,0 +1,12 @@
:sig
StringList split_space(String str)
:params
str : string to be split
return value : a list of strings
:desc
Splits 'str' into multiple strings along any whitespace characters (multiple whitespace characters count as one).
:see
>string