polars.internals.expr.ExprStringNameSpace.slice¶
- ExprStringNameSpace.slice(start: int, length: Optional[int] = None) polars.internals.expr.Expr ¶
Create subslices of the string values of a Utf8 Series.
- Parameters
- start
Start of the slice (negative indexing may be used).
- length
Optional length of the slice.
- Returns
- Series of Utf8 type