String (List<String> list) { char CONST_DELIMITER = '"'; StringBuilder sb = new StringBuilder(); if (!list.isEmpty()) { for (String s : li<caret>st) { if (!s.isEmpty()) { if (sb.length() > 0) { sb.append(CONST_DELIMITER); } sb.append(s.length()); } } } return sb.toString().trim(); }