string methods to string module? Re: There's got to be an easy way to do this
rnd at onego.ru
Fri Jul 6 09:12:03 CEST 2001
On 6 Jul 2001, Remco Gerlich wrote:
># The same with filter, too bad we need a lambda
>stripped_phone = filter(lambda c: c.isdigit(), phone_number)
Maybe, we need string.isdigit and all other string methods
to be available in string?
Does it sound like small feature request?
Sincerely yours, Roman Suzi
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Friday, July 06, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ ""Stupid" is a boundless concept." _/
More information about the Python-list