anthonyberet wrote:
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?
Look into the string module's "translate" function. It will
do this for you fairly easily.
-Peter
--
http://mail.python.org/mailman/listinfo/python-list