in reply to Re^2: Algorithm for "Incrementing" strings
in thread Algorithm for "Incrementing" strings

If we always skip vowels then we never have vowels in the string. Should we replace vowels in the string in the very beginning?
  • Comment on Re^3: Algorithm for "Incrementing" strings

Replies are listed 'Best First'.
Re^4: Algorithm for "Incrementing" strings
by MidLifeXis (Monsignor) on Feb 11, 2015 at 18:53 UTC

    Ok, change 'XAAAAAAAAAAAA' to 'WZZZZZZZZZZZZ': perl -E '$a="WZZZZZZZ"; $a++; say $a' => 'XAAAAAAA'

    --MidLifeXis

      Ooops, that's true. We have to polish the value after incrementing another way. Not_a_Number provided excellent solution below 1116376.