We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654cd77 commit 5c91a73Copy full SHA for 5c91a73
lib/elixir/lib/string.ex
@@ -338,8 +338,6 @@ defmodule String do
338
:binary.split(string, pattern, [:global])
339
end
340
341
- # TODO: Use :trim_all with :binary.split/3 whenever parts is
342
- # infinity and pattern != "" and at least Erlang 18.2 is required.
343
def split(string, pattern, options) when is_binary(string) do
344
parts = Keyword.get(options, :parts, :infinity)
345
trim = Keyword.get(options, :trim, false)
0 commit comments