Forums » Ruby on Rails » Increment Strings in Ruby
A string variable can be incremented in ruby as follows

Suppose a="abc", a.next will give you the output "abd".

This way we can increment strings in ruby.