A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-July/016273.html below:

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

[Python-Dev] Small feature request - optional argument for string.strip() [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.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4