ex: "road to" = "oadr ot" and after this is done, i want to change them back to normal text ex. "oadr ot" = "road to" i think iam very close to the soulution but i dont se it! i think it is the "whitespaces" but cant resolve this on my own.
s1 = showInputDialog("word/words input");
char[] charArray = s1.toCharArray();
char firstLetter = s1.charAt(0);
text = s1.substring(1,s1.length()+0) + firstLetter;
showMessageDialog(null,(s1));
s1 = showInputDialog(null,"Word/words input" char[] charArray = s1.toCharArray(); char lastLetter = s1.charAt(3); s1 = s1.substring(0,3); showMessageDialog(null,lastLetter + (s1);

New Topic/Question
Reply



MultiQuote







|