Python Function Reference

lstrip
Return a copy of the string with leading characters removed.
Python 3.13
str.lstrip([chars])
chars
The characters to be removed (defaults to whitespace).
Examples
Python 3.13
>>> '  hello'.lstrip()
'hello'