string methods (warning, newbie)
anthonyberet
nospam at me.invalid
Sat Feb 26 21:06:54 EST 2005
Is there a string mething to return only the alpha characters of a string?
eg 'The Beatles - help - 03 - Ticket to ride', would be
'TheBeatlesTickettoride'
If not then how best to approach this?
I have some complicated plan to cut the string into individual
characters and then concatenate a new string with the ones that return
true with the .isalpha string method.
Is there an easier way?
More information about the Python-list
mailing list