Mega Code Archive
Categories
/
Ruby
/
String
If you add the chr method from the Integer class, youll get the actual character
line = "A horse! a horse! my kingdom for a horse!" line[7].chr # => "!"