---
name: "Strings.elem"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Strings.elem"
---

# Strings.elem(3kaya)

Check if a character appears in a string

## 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)**
