3 ms·
That actually makes sense. Because the joining is something that a string knows how to do. Why should arbitrary lists know about string manipulation? By the
by eru 14y ago
That actually makes sense. Because the joining is something that a string knows how to do. Why should arbitrary lists know about string manipulation?
By the way, your example has an error, since you can't join a list of numbers. You can only join lists of strings. I.e.
' '.join("Hello", "World")