StartsWith

Determines whether the beginning of a string matches the specified string.

Syntax

String.StartsWith
   ·  [text]
   ·  [value]

Parameters

text
The input string.
value
The string to compare.

Return Value

True if the value matches the beginning of the input string or false otherwise.