List of utility methods to do String Append
String | append(final String string, final String append, final String delimiter) Appends the string `append` to `string` separated by the `delimiter` string. if (string == null) { return append; } else { final StringBuilder builder = new StringBuilder(string); if (delimiter != null) builder.append(delimiter); if (append != null) builder.append(append); ... |
String | add(String str, int num) add int i = num; if (!isBlank(str)) { int intStr = Integer.parseInt(str); i = i + intStr; return Integer.toString(i); |
String | addSuffix(String src, String suffix) add Suffix if (src == null || suffix == null) { return src; StringBuilder sb = new StringBuilder(); sb.append(src); sb.append(suffix); return sb.toString(); |
String | appendStr(Object... strs) append Str if (null == strs) { return ""; StringBuilder str = new StringBuilder(); for (Object demp : strs) { str.append(demp); return str.toString(); ... |
String | concat(Object... chunks) Efficiently concatenates the string representations of the specified objects. return join(null, chunks);
|