This page is also available in 3 other languages

startsWith()

[StringObject Function]

Description

Tests whether or not a String starts with the characters of another String.

Syntax

string.startsWith(string2)

Parameters

string, string2: a variable of type String

Returns

true: if string starts with the characters of string2

false: otherwise

See also