1Strings.filter(3kaya) Kaya module reference Strings.filter(3kaya)
2
3
4
6 Strings::filter - Filter a string according to a predicate.
7
9 String filter( Bool(Char) p, String str )
10
12 p The predicate function.
13
14 str The String to filter
15
17 Each character in str is tested against the predicate p
18 The returned string contains those characters in str for which the
19 predicate is true.
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
31
32
33Kaya December 2010 Strings.filter(3kaya)