Numbers and character codes

Characters, as we already know, are stored as numbers in binary using the ASCII or unicode scheme. This means that a single letter can be treated as a number as well as a letter! This becomes important when comparing strings or establishing order.

Capital letters have a lower numerical value than lower case. This leads us to the odd situation where "Z" is less than "a"!

Read the section on String operators for more information.