I am a newbie in Elixir and am trying to split String only at spaces the string contains unicode charcters too
String.split("Freude schöner Götterfunken", ~r/[^[:alnum:]-]/u, trim: true)
like above , this gives me a UnicodeConversionError , is there a way to do that ?
the output I want is
It would be great if someone could suggest something.