ContainsBytes

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
<Target> contains <Needle>
Associationscom.livecode.byte
Summary

Determines whether Needle contains Target.

Parameters
NameTypeDescription
Needle

An expression which evaluates to binary data.

Target

An expression which evaluates to binary data.

Values
NameTypeDescription
return

True if the bytes of Needle occur as a subsequence of the bytes of Target, and false otherwise.

Description

Note: Since the empty data is a subsequence of every sequence of bytes, every sequence of bytes contains the empty data.

Tagsbinary