On Jul 13, 9:05 am, chen li <chen_... / yahoo.com> wrote:
> Hi all,
>
> I have a small script as follows. I wonder how I can
> change 65 66 67 back to ABC.
>
>
> C:\Documents and Settings\chen73>irb
> irb(main):001:0> str="ABC"
> => "ABC"
> irb(main):002:0> str.each_byte{|b|puts b}


irb(main):003:0> str.each_byte{|b|puts b.chr}
A
B
C
=> "ABC"