method
chr
v1_9_1_378 -
Show latest stable
- Class:
String
chr()public
Returns a one-character string at the beginning of the string.
a = "abcde" a.chr #=> "a"
chr()Returns a one-character string at the beginning of the string.
a = "abcde" a.chr #=> "a"