On 21Mar2020 14:17, email@example.com firstname.lastname@example.org wrote:
On Fri, 20 Mar 2020 20:49:12 -0000 "Dennis Sweeney" email@example.com wrote:
exactly same way (as a character set) in each case. Looking at how the argument is used, I'd argue that ``lstrip``/``rstrip``/``strip`` are much more similar to each other than they are to the proposed methods
Correct, but I don't like the word "cut" because it suggests that something is cut into pieces which can be used later separately.
I'd propose to use "trim" instead of "cut" because it makes clear that something is cut off and discarded, and it is clearly different from "strip".
Please, NO. "trim" is a VERY well known PHP function, and does what our strip does. I've very against this (otherwise fine) word for this reason.
I still prefer "cut", though the consensus seems to be for "strip".
Cheers, Cameron Simpson firstname.lastname@example.org