What’s the opposite of chr() in Ruby? January 5, 2023 by Tarik If String#ord didn’t exist in 1.9, it does in 2.0: "A".ord #=> 65