GetWordStart(ReadOnlySpan, Int32) Method

Definition

Assembly XenoAtom.Terminal.dll

Gets the start index of the word around index (best effort).

public static int GetWordStart(ReadOnlySpan<char> text, int index)

Parameters

index
Int32

Returns