return str.indexOf(searchStr);
return str.indexOf(searchChar);
    public static int indexOf(String str, String searchStr) {        if (str == null || searchStr == null) {            return -1;        }        return str.indexOf(searchStr);    }