Syntax

<subject> starts with <prefix>

if myFilename starts with "." then output "It's invisible!"

Explanation

The starts with operator tests whether an expression begins with the given text.

Parameters

subject

An expression to be examined for having a prefix.

suffix

The prefix with which you expect subject to begin.

See Also