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