String (@NotNull List<String> stringList) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < stringList.size(); i++) { String word = stringList.get(i); if (!StringUtil.isEmptyOrSpaces(word)) { sb.append(i == 0 ? StringUtil.decapitalize(word.trim()) : StringUtil.capitalize(word.trim())); } } return sb.toString(); }