Didn't want to let this useful suggestion miss the archives. ------- Forwarded Message Date: Wed, 29 May 2002 20:37:40 +0200 From: Finn Bock To: Guido van Rossum Subject: Re: [Python-Dev] Re: String module Guido van Rossum wrote: >... > digits -- isdigit() > > That leaves: > > hexdigits -- isxdigit() > octdigits -- isodigit() Java solves this task by a method that takes a radix argument and returns an int for the numeric value and -1 for characters that are invalid in the radix. http://java.sun.com/j2se/1.4/docs/api/java/lang/Character.html#digit(char,%20in t) regards, finn ------- End of Forwarded Message
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