31 Mar
2019
31 Mar
'19
11:02 p.m.
Dan Sommers wrote:
without_prefix without_suffix
They're a little longer, but IMO "without" helps reenforce the immutability of the underlying string.
We don't seem to worry about that distinction for other string methods, such as lstrip and rstrip. -- Greg