split_space
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user