BeginsWithBytes |
Type | operator |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | <Target> begins with <Needle>
|
Associations | com.livecode.byte |
Summary | Determines whether Target begins with Needle.
|
Parameters | Name | Type | Description |
---|
Needle | | An expression which evaluates to binary data.
|
Target | | An expression which evaluates to binary data.
|
|
Values | Name | Type | Description |
---|
return | | True if the bytes of Needle occur as an initial subsequence of the bytes of Target, and false otherwise.
|
|
Description | Note: Since the empty data is an initial subsequence of every sequence of bytes, every sequence of bytes begins with the empty data.
|
Tags | binary |