Problem with string parsing
remy.blank_asps at pobox.com
Tue Oct 5 16:46:09 CEST 2004
Mike Howard wrote:
> If I do this:
> I get:
> Which I did not expect
The second argument of lstrip() is not a string to remove from the
beginning of a string but a set of characters to strip. In this case,
there is a '1' in that set, so it gets stripped from the '10-May-2002'.
> Is this a bug or am I doing something wrong?
It is by design.
Remove underscore and suffix in reply address for a timely response.
More information about the Python-list