polars.internals.series.StringNameSpace.slice

StringNameSpace.slice(start: int, length: Optional[int] = None) polars.internals.series.Series

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