Which of these methods of class String is used to check whether a given string starts with a particular substring or not?
Which of these methods of class String is used to check whether a given string starts with a particular substring or not? Correct Answer StartsWith()
The StartsWith() determines whether a substring exists at the beginning of the string.
মোঃ আরিফুল ইসলাম
Feb 20, 2025