Re:The complete guide to working with strings in modern Java...
by davethedevguy on Wednesday April 14, 2021 @02:49AM
(#26803785)
Thanks!
I'm not sure how I managed to completely forget about joining strings. I'll add that.
While SPLITting a string into an array is useful, JOINing array elements to create a string is also useful.
e.g. let x = commaSepList.split(',').join('\n')