[Tutor] Problem Stripping
ramit.prasad at jpmorgan.com
Fri Mar 30 19:36:50 CEST 2012
> S.strip([chars]) -> string or unicode
> Return a copy of the string S with leading and trailing
> whitespace removed.
> If chars is given and not None, remove characters in chars instead.
> If chars is unicode, S will be converted to unicode before stripping
You can get this text on the interpreter by doing help(str.strip) or
help(''.strip). There is even an interactive help you can access by doing
help(). I find it very useful, although usefulness varies with 3rd party
Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.
More information about the Tutor