Convert HEX String to ASCII in Ruby
Published July 10th, 2007 in Ruby, Software
str = '6b 75 6d 6b 65 65 65 2e 63 6f 6d'
str.split(' ').each { |val|
print val.hex.chr
}
or you could just use centricle.com ASCII - HEX Converter
str = '6b 75 6d 6b 65 65 65 2e 63 6f 6d'
str.split(' ').each { |val|
print val.hex.chr
}
or you could just use centricle.com ASCII - HEX Converter
No Comments to “Convert HEX String to ASCII in Ruby”
Please Wait
Leave a Reply