From: Nick Bo Date: 2008-09-13T07:25:07+09:00 Subject: Beginner User having issue with converting char to ASCII I am working on this assignment and this is the first class I have used ruby with so please forgive if some of these questions seem elementary. Basically the job is to take a string with characters "a-zA-Z0-9" and then turn it into an array using the .split method. Then do an "each do" loop that will run through each array of the character array and find the ASCII value. my issue is I dont know how to take the character and convert it into ASCII. Here is a copy of what i got so far::? #set up first array characters = 'a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F ...G ...H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9' characterArray = characters.split #set up next array by using a loop to determine the ASCII value of each ...character characterArray.each do |ascii| print "#{ascii} \n" end -- Posted via http://www.ruby-forum.com/.