Skip to content

StrIterMove

Description

Move the StrIter cursor by signed offset n. Propagating alias for IterMove; see IterMove for the full contract.

Parameters

Name Direction Description
si in Pointer to the StrIter cursor to move.
n in Signed character offset; negative steps backward. The new position must land in [0, length] for a forward iter or in [-1, length) for a reverse iter (where -1 is the past-start sentinel).

Success

Cursor position is updated; returns true.

Failure

The target position would fall outside the valid range; position is unchanged, returns false.

Usage example (Cross-references)

Usage examples (Cross-references)
No external code usages found in the scanned files.
Last updated on