[Python-Dev] Adding Unicode methods to string objects

M.-A. Lemburg mal@lemburg.com
Tue, 07 Mar 2000 10:23:35 +0100


Before starting to code away, I would like to know which
of the new Unicode methods should also be available on
string objects.

Here are the currently available methods:

Unicode objects      string objects
------------------------------------
capitalize           capitalize
center              
count                count
encode              
endswith             endswith
expandtabs          
find                 find
index                index
isdecimal           
isdigit             
islower             
isnumeric           
isspace             
istitle             
isupper             
join                 join
ljust               
lower                lower
lstrip               lstrip
replace              replace
rfind                rfind
rindex               rindex
rjust               
rstrip               rstrip
split                split
splitlines          
startswith           startswith
strip                strip
swapcase             swapcase
title                title
translate            translate (*)
upper                upper
zfill               

(*) The two hvae slightly different implementations, e.g.
deletions are handled differently.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/