1) put all the letters and characters for the username in a string
2) generate a random number between 6-10
3) then generate a random number between 0 and the length-1 of the string in 1)
4) get the character (
using charAt()) in the string in 1) at the index of the random number in 3)
5) repeat steps 3-4 for the number of times of the random number in 2), appending the new character to the previous ones.
Last edited by bullant; 05-14-2011 at 12:51 PM..