Report abuse


			
csum = s[0]; (1 .. s.length - 1).each {|i| csum ^= s[i] }