strip/trim a string

Bjørn Ove Grøtan bgrotanLOVELYSPAM at itea.ntnu.no
Mon Apr 22 05:32:14 EDT 2002


yes, I'm a newbie at python.

and I need to strip/trim a string... e.g. I have a string of unknown
length, and only care 
for the last five(5) characters.

An example string:
xxxNOGBJ  94873

where 94873 is the only part of the string I want to keep

best regards

Bjørn Ove



More information about the Python-list mailing list