Regex module

digit_at

procedureextensionSource

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)

Parameters

text: string
index: int

Returns

int
int

See also