// character to ASCII value: use ?
// string to integer: use []
// integer / number to character: use .chr
?a # => 97
?\n # => 10
// string to integer: use []
'a'[0] # => 97
'hallo'[1] # => 97
// integer / number to character: use .chr
97.chr # => "a"
10.chr # => "\n"
No comments:
Post a Comment