------ art_36807_28152191.1184332347182 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/13/07, chen li <chen_li3 / yahoo.com> wrote: > > Hi all, > > I have a small script as follows. I wonder how I can > change 65 66 67 back to ABC. Try the Integer#chr method, from the docs: int.chr string <http://www.ruby-doc.org/core/classes/Integer.src/M001163.html> Returns a string containing the ASCII character represented by the receiver's value. 65.chr # "A" ?a.chr # "a" 230.chr # "\346" ------ art_36807_28152191.1184332347182--