begins with | ||||||||||
Type | operator | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Summary | The begins with operator takes two strings and returns true if the second string matches the start of the first string. | |||||||||
Introduced | 2.9 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Related | Property: caseSensitive Operator: ends with, contains Function: offset, length Glossary: property | |||||||||
Description | For the expression to evaluate to true the whole of prefix must be present at the beginning of string. For example, if prefix has three characters these must match the first three characters of string (in order). This operator takes into consideration the current value of the caseSensitive property. |