With commons/lang you can do this using StringUtils.join: String str_1 = StringUtils.join(set_1, " "); You can’t really beat that for brevity. Update: Re-reading this ...
-
April 1, 2022
- 0 Comments