ByteOffset | ||||||||||
Type | operator | |||||||||
Dictionary | LCB | |||||||||
Library | LiveCode Builder | |||||||||
Syntax |
| |||||||||
Associations | com.livecode.byte | |||||||||
Summary | Finds the first or last occurrence of Needle within Target | |||||||||
Parameters |
| |||||||||
Values |
| |||||||||
Description | The first (respectively last) offset of Needle in Target is number of bytes between the first byte of Target and the first (respectively last) occurrence of Needle. If neither first or last is specified, then the first offset is found. If Needle does not occur in Target, then the output is 0. | |||||||||
Tags | binary |