code: public static String substring(String str, int off, int len) {
  	return str.substring(off, off + len);
      }
docs: this method works different from the regular substring method, the regular substring method takes
  startIndex and endIndex as second and third argument, this method takes offset and length
  
  @param str
  @param off
  @param len
  @return