Here you can find the source of appendStr(char splitTag, Object... strs)
public static String appendStr(char splitTag, Object... strs)
//package com.java2s; public class Main { public static String appendStr(Object... strs) { if (null == strs) { return ""; }/*from www.j a v a 2 s. c om*/ StringBuilder str = new StringBuilder(); for (Object demp : strs) { str.append(demp); } return str.toString(); } public static String appendStr(char splitTag, Object... strs) { if (null == strs) { return ""; } StringBuilder str = new StringBuilder(); for (Object demp : strs) { str.append(demp); str.append(splitTag); } return str.toString(); } }