String.trim/1 seems to do the trick as of Elixir 1.3.0.
strip
still works, but it was soft deprecated in the 1.3.0 release and it isn’t listed in the String docs.
String.trim/1 seems to do the trick as of Elixir 1.3.0.
strip
still works, but it was soft deprecated in the 1.3.0 release and it isn’t listed in the String docs.