code: public static List<String> split(String str, char sepChr) {
      	List<String> result = new ArrayList<String>();
      	int idx = 0;
      	while(true) {
      		int idx2 = str.indexOf(sepChr, idx);
      		if(idx2 < 0) {
      			result.add(str.substring(idx));
      			break;
      		}
      		result.add(str.substring(idx, idx2));
      		idx = idx2 + 1;
      	}
          return result;
      }
docs: Split the given string by a separator char. Unlike split(String,String), doesn't use RegEx
  
  @param str       String to be split.
  @param sepChr    Separator character that lies between values.
  @return          List of separated substrings