max

val max: String?

The upper bound as text, or null when none could be represented.

May end in a replacement character: an incremented byte is a bound in byte order, which is the order the engine sorts in, and need not be text. Use maxUtf8 when the bytes are what matter.