Enum.join/2
defmodule Enum do
def join(enumerable, joiner \\ "")
end
Joins the given enumerable into a binary using joiner
as a separator.
If joiner
is not passed at all, it defaults to the empty binary.
All elements in the enumerable must be convertible to a binary, otherwise an error is raised.