1Strings.elem(3kaya) Kaya module reference Strings.elem(3kaya)
2
3
4
6 Strings::elem - Check if a character appears in a string
7
9 Bool elem( Char c, String str )
10
12 c The character to check for
13
14 str The string to check
15
17 Returns true if the character appears in the String, false otherwsie.
18
20 Kaya standard library by Edwin Brady, Chris Morris and others
21 (kaya@kayalang.org). For further information see http://kayalang.org/
22
24 The Kaya standard library is free software; you can redistribute it
25 and/or modify it under the terms of the GNU Lesser General Public
26 License (version 2.1 or any later version) as published by the Free
27 Software Foundation.
28
30 Array.elem (3kaya)
31 Strings.firstOccurs (3kaya)
32
33
34
35Kaya December 2010 Strings.elem(3kaya)