public void SearchString(String s) {
if (s==null||s=="") {
System.out.println("NOT FIND");
}
for (int i=0;i<s.length();i++) {
char a=s.charAt(i);
String c=String.valueOf(a);
String d=s.replaceFirst(c, "");
if(d.contains(c)==false) {
System.out.println(c);
break;
}
System.out.println("not find");
break;
}
Over