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/2002-May/024584.html below:

[Python-Dev] Re: String module

[Python-Dev] Re: String module [Python-Dev] Re: String moduleGuido van Rossum guido@python.org
Wed, 29 May 2002 14:46:53 -0400
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