strSlice

fnSeries strSlice(Series s, long start, long end)

The code-point slice [start, end) of each string (ADR-2026-10-23-12): negative indices count from the end (Python/Polars semantics); out-of-range clamps; nulls propagate. A slice clamps where take throws - the documented distinction (a slice is not an index).

Parameters

sthe STRING Series
startthe first code point (negative: from the end)
endthe exclusive end (negative: from the end)

Returns

the sliced STRING Series.