p "abcdefg".each_byte.collect { |x| (x+1).chr }.join => "bcdefgh"
+10 for having this available as soon as possible.
At least to me it feels 'just right'.
cheers
Simon
p "abcdefg".each_byte.collect { |x| (x+1).chr }.join => "bcdefgh"
+10 for having this available as soon as possible.
At least to me it feels 'just right'.
cheers
Simon