code: public String removeTail(String srcStr, int charCount) {
          return getLeftOf(srcStr, srcStr.length() - charCount);
      }
docs: Return the rest of the string that is cropped the number of chars from
  the end of string
  
  @param srcStr
  @param charCount
  @return