News for hackers. Stuff that matters.
Re:The complete guide to working with strings in modern Java... by 8bitsrule on Tuesday April 13, 2021 @09:57PM (#26802095)
Fine concise reference!

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')

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.