The two standard functions ord and chr allow the mapping of the given character set onto a subset of natural numbers - called the ordinal numbers of the character set - and vice versa; ord and chr are called transfer functions.