code: public static int getDelimiterOffset(final String line, final int start, final char delimiter) {
          int idx = line.indexOf(delimiter, start);
          if (idx >= 0) {
              idx -= start - 1;
          }
          return idx;
      }
docs: reads from the specified point in the line and returns how many chars to
  the specified delimiter
  
  @param line
  @param start
  @param delimiter
  @return int