Which Of These Methods Of Class String Is Used To Check Whether #249
Which of these methods of class String is used to check whether a substring exists at the beginning of the particular string?
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Arrays and Strings - Comparison of Strings - Quiz No.1.
Which of these methods of class String is used to check whether a substring exists at the beginning of the particular string?
StartsWith()
EndsWith()
Starts()
ends()