March 2003
Intermediate to advanced
656 pages
39h 30m
English
lstrip
s.lstrip(x=None)Returns a copy of s with leading
whitespace, if any, removed. Since Python 2.2.2, you can optionally
pass a string x as an argument, in which
case lstrip removes characters found in
x rather than removing whitespace.
Read now
Unlock full access