Android Utililty Methods String Starts With

List of utility methods to do String Starts With

Description

The list of methods to do String Starts With are organized into topic(s).

Method

booleanstartsWith(String str, String prefix)
starts With
if (str == null || prefix == null) {
    return false;
return str.startsWith(prefix);
booleanstartsWith(String str, String prefix, int offset)
starts With
if (str == null || prefix == null) {
    return false;
return str.startsWith(prefix, offset);
booleanstartsWith(final String text, final String fragment)
starts With
return startsWithIgnoreCase(text, fragment);