Scroll to navigation

Strings.elem(3kaya) Kaya module reference Strings.elem(3kaya)

NAME

Strings::elem - Check if a character appears in a string

SYNOPSIS

Bool elem( Char c, String str )

ARGUMENTS

c The character to check for
str The string to check

DESCRIPTION

Returns true if the character appears in the String, false otherwsie.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Array.elem (3kaya)
Strings.firstOccurs (3kaya)
August 2014 Kaya