ContainsChars

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
<Source> contains <Needle>
Associationscom.livecode.char
Summary

Determines whether Source contains Needle.

Parameters
NameTypeDescription
Needle

An expression which evaluates to a string.

Source

An expression which evaluates to a string.

Values
NameTypeDescription
return

Returns true if Source contains Needle.

Description

Source contains Needle if and only if the chars of Needle occur as a subsequence of the chars of Source.

Note: Since "" is a substring of every string, every string contains the empty string.

Tagsstrings