split_space
This commit is contained in:
parent
17336fe649
commit
5df52146be
@ -5,6 +5,7 @@ first
|
|||||||
join
|
join
|
||||||
nibble
|
nibble
|
||||||
split
|
split
|
||||||
|
split_space
|
||||||
split_utf8
|
split_utf8
|
||||||
replace
|
replace
|
||||||
to_lower
|
to_lower
|
||||||
|
|||||||
@ -1,11 +1,9 @@
|
|||||||
:sig
|
:sig
|
||||||
StringList split(String str, String delim)
|
StringList split(String str, String delim)
|
||||||
StringList split(String str)
|
|
||||||
|
|
||||||
|
|
||||||
:params
|
:params
|
||||||
str : string to be split
|
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
|
return value : a list of strings
|
||||||
|
|
||||||
:desc
|
:desc
|
||||||
|
|||||||
12
doc/pages/split_space.txt
Normal file
12
doc/pages/split_space.txt
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user