Elixir Language Join Strings Using IO List

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Example

["String1", " ", "String2"] |> IO.iodata_to_binary 
# "String1 String2"

This will gives some performances boosts as strings not duplicated in memory.
Alternative method:

iex(1)> IO.puts(["String1", " ", "String2"])
# String1 String2


Got any Elixir Language Question?