Hi,


Can someone explain the role of the "?" before the "x"

s = "abcdefg"
s[0] = ?x       # s == "xbcdef"


I know this will accomplish the same thing.

 s[0] = 'x'



Thanks,
Buzz
-- 
Posted via http://www.ruby-forum.com/.