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, "+");
时间: 2025-01-04 07:45:53