String permutations sample code

For some reasons had to test how GitHub works and upload an application there. I do like to code simple applications in Xojo when I need to fill the gap and cannot find the right tool...