string:join ?

Per Hedeland hedeland@REDACTED
Fri Jun 11 13:59:46 CEST 2004


"Valentin" <valentin@REDACTED> wrote:
>
>So what is wrong with:
>
>lists:concat( ["Hello", " ", "World"] ).
>
>or if you insist:
>
>lists"concat( ["Foo", " ", "Bar", " ", "Bazz"]).
>
>Seriously, what am I missing here?

Primarily that the length of the list of strings isn't necessarily known
in advance. Plus it's more typing even if you know.:-)

--Per



More information about the erlang-questions mailing list