"I did consider using split myself, but didn't do so in the end; I might have had I remembered that there was a join method." . . . .