iex(2)> l |> Enum.join() |> String.split("0")
["123", "45", "678", "9"]
![]()
Interesting though, especially as Enum.intersperse/2 exists.
iex(2)> l |> Enum.join() |> String.split("0")
["123", "45", "678", "9"]
![]()
Interesting though, especially as Enum.intersperse/2 exists.