PHP to Ruby
Convert PHP code into Ruby!
-
chr
Posted on June 10th, 2009 No commentsThe chr function returns a one-character string, which represents the character specified by an ASCII code.
PHP
echo chr(115); => // s
Ruby
puts 115.chr => # s


