withBegin

open fun withBegin(begin: Position): Range(source)

Return

A copy of this `Range` object, but with the begin position replaced with the given position.

Parameters

begin

The value used to replace the current begin position.