Python‎ > ‎str‎ > ‎

str.lstrip()


Definition
Return a copy of the string S with leading whitespace removed.

Syntax
str.lstrip()->str

Parameters
str=string

Examples
The example returns with:
 >>> " Python Lake".lstrip()
'Python Lake'

Comments