Which of these methods of class String is used to check whether a substring exists at the beginning of the particular string?

Which of these methods of class String is used to check whether a substring exists at the beginning of the particular string? Correct Answer StartsWith()

Method startswith() of string class is used to check whether a substring exists in the beginning of string or not.

Related Questions

Which of these methods of class String is used to separate a substring from a String object?
Which of these methods of class String is used to extract a substring from a String object?
Which of these methods of class StringBuffer is used to extract a substring from a String object?