On 22 March 2012 20:04, Rodrick Brown <rodrick.br...@gmail.com> wrote: > > On Mar 22, 2012, at 3:53 PM, Arnaud Delobelle <arno...@gmail.com> wrote: > Try help(ste.strip) > > It clearly states "if chars is given and not None, remove characters in > chars instead. > > Does it mean remove only the first occurrence of char? That's the behavior > I'm seeing.
The key words in the docstring are "leading and trailing" -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list