Which of these methods of class String is used to check whether a given string starts with a particular substring or not?

a) StartsWith()
b) EndsWith()
c) Starts()
d) Ends()

1 thought on “Which of these methods of class String is used to check whether a given string starts with a particular substring or not?”

Leave a Comment