[Python-Dev] Small feature request - optional argument for string.strip()

Greg Ward gward@python.net
Wed, 25 Jul 2001 15:15:57 -0400


On 25 July 2001, Simon Brunning said:
> >>>fred = '**word**word**'
> >>>fred.strip('*')
> word**word
> 
> Does this sound sensible/useful?

Not really.  I can't recall ever having a need for such a feature in any
programming language I've ever used.

        Greg
-- 
Greg Ward - programmer-at-big                           gward@python.net
http://starship.python.net/~gward/
I haven't lost my mind; I know exactly where I left it.