code: private static List<String> chunk(String text, int size) {
          List<String> chunks = new ArrayList<>();
          for (int i = 0; i < text.length(); i += size) {
              chunks.add(StringUtils.substring(text, i, i + size));
          }
          return chunks;
      }
docs: Splits a string into equally sized chunks
  @param text the text to split
  @param size the chunk size
  @return the list of chunks