https://stackoverflow.com/questions/4021851/join-string-list-elements-with-a-delimiter-in-one-step
You can use the StringUtils.join()
method of Apache Commons Lang:
String join = StringUtils.join(joinList, "+");
原文:http://www.cnblogs.com/hong2016/p/7451342.html