C
chen li
Hi all,
I have a small script as follows. I wonder how I can
change 65 66 67 back to ABC.
Thanks,
Li
C:\Documents and Settings\chen73>irb
irb(main):001:0> str="ABC"
=> "ABC"
irb(main):002:0> str.each_byte{|b|puts b}
65
66
67
=> "ABC"
irb(main):003:0>
____________________________________________________________________________________
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/
I have a small script as follows. I wonder how I can
change 65 66 67 back to ABC.
Thanks,
Li
C:\Documents and Settings\chen73>irb
irb(main):001:0> str="ABC"
=> "ABC"
irb(main):002:0> str.each_byte{|b|puts b}
65
66
67
=> "ABC"
irb(main):003:0>
____________________________________________________________________________________
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/