1Strings.words(3kaya) Kaya module reference Strings.words(3kaya)
2
3
4
6 Strings::words - Split a String into words.
7
9 [String] words( String s )
10
12 s The string to split
13
15 Splits a String into whitespace separated words.
16
17
18 x = "The quick brown fox jumps
19 over the lazy dog";
20 ws = words(x); // ["The","quick","brown","fox","jumps",
21 // "over","the","lazy","dog"];
22
24 Kaya standard library by Edwin Brady, Chris Morris and others
25 (kaya@kayalang.org). For further information see http://kayalang.org/
26
28 The Kaya standard library is free software; you can redistribute it
29 and/or modify it under the terms of the GNU Lesser General Public
30 License (version 2.1 or any later version) as published by the Free
31 Software Foundation.
32
34 Strings.lines (3kaya)
35 Regex.split (3kaya)
36 Strings.unwords (3kaya)
37
38
39
40Kaya December 2010 Strings.words(3kaya)