docs: public static List<String> splitAtLastBlank(String s, int width) {
      List<String> chunks = new ArrayList<>();
  
      String tmp = s;
      while(tmp.length() > 0) {
        int index = findSplitpoint(tmp, width);
        // store first part
        chunks.add(tmp.substring(0, index));
        // skip whitespace at beginning of line
        while(index < tmp.length() && tmp.charAt(index) == ' ') {
          index += 1;
        }
        // remove a newline
        if(index < tmp.length() && tmp.regionMatches(index, NEWLINE, 0, NEWLINE.length())) {
          index += NEWLINE.length();
        }
        if(index >= tmp.length()) {
          break;
        }
        tmp = tmp.substring(index);
      }
  
      return chunks;
    }