Hi, I have a list which includes some string or integer item that I need to convert it to string with a character like “/”, then I used Enum.map
like bottom code.
Enum.map(["a", "b", "c"], fn x -> "#{x}/" end) |> List.to_string
But I need to know is there a way which does not use loop like Enum.map
for example
Enum.map(["a", "b", "c"], fn x -> "#{x}/" end) |> List.to_string("/")
Thanks