From: Wybo Dekker Date: 2012-08-06T17:49:04+09:00 Subject: Re: how perform addition a text value with an integer On 2012-08-06 01:28, Alex Coplan wrote: > Try this: > > irb(main):001:0> cuid = "1008" > => "1008" > irb(main):002:0> cuid = "#{cuid.to_i + 1}" > => "1009" Or cuid.next -- Wybo