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