Postgres module

byte_to_character_count

procedure · 1 overloadsince 0.27.0Source

Characters between two byte offsets of text.

byte_to_character_count :: (text: string, from: s64, to: s64) -> s64

Characters between two byte offsets of text.

Parameters

text: string
the text to count in.
from: s64
first byte offset.
to: s64
byte offset to stop before.

Returns

s64

See also