permutations of String
<p>I am trying to write a simple method that prints all String permutations. There are a lot of topics on permutations of a given string, but that is not what I seek.
I want to start with strings from 1 letter and go on to Strings of 10 letters.</p>

<p>In the end I found that it is fairly easy to do this for hex code:</p>

<pre><code>int counter = 0;
while (true) {      
    String a = Integer.toString(counter, 16); //fails on 26
    System.out.println(a);
    counter++;
}
</code></pre>

<p>But if I change the radix 16 to 26, nothing happens(all 0's are printed). It would surprise me if it would work actually : ), cause i did not check the docs for the radix that are allowed.
Still I would like to keep the same method and just treat my String as a large number with radix 26. </p>

<p>How do I convert the number to a radix 26 String?</p>
