Mega Code Archive
Categories
/
Ruby
/
String
Each_byte takes a string apart byte by byte, returning the decimal value for the character at each index location
"myValue".each_byte { |b| print b, "/" }