elixir to string code example Example: how to split string in elixir String.split(variable, " ") String.split(variable, [" ", "(", ")"])