private String getMatch(String s) {
	for (int i = 0; i < dataList.size(); i++) {
	    String s1 = dataList.get(i).toString();
	    if (s1 != null) {
		if (!isCaseSensitive
			&& s1.toLowerCase().startsWith(s.toLowerCase())) {
		    return s1;
		}
		if (isCaseSensitive && s1.startsWith(s)) {
		    return s1;
		}
	    }
	}

	return null;
    }