Strip all but first 5 characters - Python

Viewed 79035

Possible Duplicate:
Is there a way to substring a string in Python?

I have a string in the form 'AAAH8192375948'. How do I keep the first 5 characters of this string, and strip all the rest? Is it in the form l.strip with a negative integer? Thanks.

3 Answers
Related