Dear friends,

how can i add : ch != ' ' ';
i tried to use that in the code in order to avoid reading the character ' but it didn't work....any idea

Code:
  for(int k= 0; k < wordsarr[i].length(); k++)
       {  
           ch = wordsarr[i].charAt(k) ;
           
           if(ch != ';' && ch != ',' && ch != '"' && ch != '-' )
           {
               copywords[i] =    copywords[i] + ch ;
           }
[ArchAngel added CODE tags]