This has been here almost for a month.... any thoughts guys?

El viernes, 25 de agosto de 2017, 17:55:09 (UTC+2), Alberto Almagro 
escribió:
>
> Hello,
>
> I would like to add String.remove/2 with attributes (subject, pattern) to 
> be able to remove patterns from Strings. Now when I want to remove a 
> pattern from a String I have to replace it with an empty string like for 
> example String.replace(string, " ", ""). While this works, in my opinion it 
> doesn't give the code the meaning I want. Calling String.remove(string, " 
> ") would much better reveal my intention of removing a pattern instead of 
> replacing it.
>
> If you agree with this, I would like to make and submit a PR adding this 
> feature. If you also want to add some options to it, please tell me the 
> ones you think that may be useful.
>
> Thanks in advance for the time you spend reviewing my proposal,
> Alberto
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/78717959-df74-45fc-81a5-080f9a14f727%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to