polars.Expr.str.lstrip#

Expr.str.lstrip(characters: str | None = None) Expr[source]#

Remove leading characters.

Deprecated since version 0.19.3: This method has been renamed to strip_chars_start().

Parameters:
characters

The set of characters to be removed. All combinations of this set of characters will be stripped. If set to None (default), all whitespace is removed instead.