The startsWith method determines whether a string starts with the characters of a specified string.
System.Boolean startsWith(System.String searchvalue, System.Int32 length);
searchvalue
String to search for
length
[Optional] Length of the string to search. If omitted, the default value is the length of the string.
Returns Value True if the string starts with the characters, False otherwise.
Member of string.