From: Simon Krahnke Date: 2007-08-17T10:04:57+09:00 Subject: Re: character to hex/binary/etc... * John Joyce (22:50) schrieb: > Hmm... that first technique is useful! Returning elements of a string. Gut that won't work in Ruby 1.9. "haha"[0] is 104 in 1.8 but "h" in 1.9. You have to use "haha".bytes.first in Ruby 1.9, but that won't work in 1.8. mfg, simon .... l