In many languages there\'s a pair of functions, chr() and ord(), which convert between numbers and character values. In some languages, ord()
chr()
ord()
If String#ord didn't exist in 1.9, it does in 2.0:
"A".ord #=> 65