[Python-au] strip function
Tue, 28 Jan 2003 18:15:58 +1100
On Tue, Jan 28, 2003 at 05:27:31PM +1100, vector180 wrote:
> Having som eproblems with the strip function.
> Activestate Pythonwin.
> some doc seems to indicate you can set which characters you want striped
> from the ends.
> i was hopeing strip("h") would strip leading,trailing h s for eg.
> I have tried various configurations i hope I just have the syntax wrong.
If I recall correctly, this was introduced in Python 2.2... which version of
Python do you have?