I have two strings, which are typically of different lengths, and I want to
interleave them, i.e.:

'abcdefg' interleaveWith: '123'

Would produce

'a1b2c3defg'

I know how to write this procedurally, but I have been very impressed by
what Sven shows in his Medium articles, so I wondered if there is any
existing mechanism that would allow me to solve this elegantly?
 with:collection: almost does it, but the collections have to be the same
size.

Cheers
Andy

Reply via email to