public static String Clear(String s)
{
String sReturn = "";
String wo[]=s.split(" ");
for(String w:wo)
{
return w;
}
sReturn = "clear words i.e. after ignoring special characters and no. and converting all to small letters are:";
String word;
for(int i=0;i<wo.length;i++)
{
word=wo[i].toLowerCase();
List<Character> li=new ArrayList<Character>();
for (char ch:word.toCharArray())
if(ch>='a' && ch<='z')
li.add(ch);
String ss="";
for(char ch:li)
ss=ss+ch;
sReturn += ss;
}
return sReturn;
}