Regex module

digit_at

procedure · 1 overloadSource

The value of the decimal digit at index and its size in bytes; -1 if it is not one.

digit_at :: (text: string, index: int) -> (int, int)

The value of the decimal digit at index and its size in bytes; -1 if it is not one.

Parameters

text: string
index: int

Returns

int
int

See also