From: Lyndon Samson Date: 2005-04-12T03:32:07+09:00 Subject: Re: pass a byte array to a web service > that is, a single character is a byte, yet a range is a substring. > > I haven't quite grokked the ruby rules around this yet. Whys www.poignantguide.net/ruby/print.html says str = "A string is a long shelf of letters and spaces." puts str[0] # prints 'A' but ruby 1.8.2 irb(main):001:0> str = "A string is a long shelf of letters and spaces." => "A string is a long shelf of letters and spaces." irb(main):002:0> puts str[0] 65 So I guess the behaviour changed between 1.6 and 1.8? Or why made a typo? -- Into RFID? www.rfidnewsupdate.com Simple, fast, news.