Java String startsWith() | Java String endsWith()
startsWith(String prefix): Test if this string starts with the specified prefix. Syntax: public boolean startsWith(String prefix) Note: It returns true if the character sequence represented by the argument is a prefix of the character sequence represented by this string otherwise returns false. It also returns true if the argument string is empty or is equal to this String … Read more