BEGINS

Result = String [ NOT ] BEGINS Pattern

Return TRUE if the String string begins with the Pattern string.

If NOT is specified, then the test is inverted.

This operator is case sensitive.

Examples

Print "Gambas" Begins "Gam"
True

Print "Gambas" Begins "Vis"
False

Print "Gambas" Not Begins "Vis"
True

See also