code: public static String[] split(final String input, final char split) {
          int index = indexOf(input, split);
          int prevIndex = 0;
          final ArrayList<String> output = new ArrayList<String>();
          if (index == -1) {
              output.add(input);
              return output.toArray(new String[1]);
          }
          while (index != -1) {
              output.add(input.substring(prevIndex, index));
              prevIndex = index + 1;
              index = indexOf(input, split, index + 1);
          }
          output.add(input.substring(prevIndex, input.length()));
          return output.toArray(new String[output.size()]);
      }
docs: Similar to the normal String split function. However this function ignores escaped characters (i.e. \[ ).
  
  @param input The string to be split
  @param split The char to be used to split the input string
  @return An array of split strings