minus

operator external fun minus(other: Int): Char(source)

Subtracts other from this UTF-16 code unit.

The result wraps modulo 65,536 and may be a surrogate code unit.

Return

the resulting code unit.

Parameters

other

signed code-unit offset.


operator external fun minus(other: Char): Int(source)

Returns the signed distance between two UTF-16 code units.

Return

this code minus the code of other, as an Int.

Parameters

other

code unit to subtract.