The value immediately after the inclusive upper bound.
if last is Char.MAX_VALUE, because the exclusive upper bound cannot be represented as Char.
Char.MAX_VALUE