stripping a string
Leeds, Mark
mleeds at mlp.com
Sat Sep 13 16:51:16 EDT 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 ?
mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20030913/106dde16/attachment.html>
More information about the Python-list
mailing list