public static char randomChar (String inputText)
{
char randomChar;
int randomInt;
randomInt = (int) Math.random() * inputText.length();
randomChar = inputText.charAt(randomInt);
return randomChar;
}
This post has been edited by aletty: 25 March 2010 - 06:30 PM

New Topic/Question
Reply




MultiQuote




|