String (List<String> list) { char CONST_DELIMITER = '"'; String sb = ""; if (!list.isEmpty()) { sb = list.stream().filter(s -> !s.isEmpty()).map(s -> String.valueOf(s.length())).collect(Collectors.joining(String.valueOf(CONST_DELIMITER))); } return sb.trim(); }