startsWith(String prefix): boolean
Indicates whether or not this string starts with the specified prefix.
Input Parameters
Return Value
Boolean Returns true if the character sequence represented by the argument is a prefix of the character sequence represented by this string; false otherwise. Note: | The result will be true if the argument is the empty string or is equal to this string object as determined by the equals(String) method. |
|