stripping a string

Leeds, Mark mleeds at
Sat Sep 13 22:51:16 CEST 2003

hello : i am very much a python novice because
I only use it for preprocessing data that
i send into another language called Splus.
I have the following problem that
I have spent a lot of time on but I
can't figure out.
I have a string called tickerstring
that might be 
"ANL LN32"
and i want to get rid of the digit piece.
so that i get "ANL LN"
i can't just take off the last two charcters
because the string could also be
"ANL LN3" for example.
thanks to anyone who could explain
how to do this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list