protected static String reduceString(String input){
  String newString=input.toLowerCase();
  int len=newString.length();
  String retval="";
  for (int i=0; i < len; i++) {
    if (newString.charAt(i) == ' ' || newString.charAt(i) == '\t')     continue;
 else     retval+=newString.charAt(i);
  }
  return retval;
}

protected static String reduceString ( String input ) { String newString = input . toLowerCase ( ) ; int len = newString . length ( ) ; String retval = "" ; for ( int i = 0 ; i < len ; i ++ ) { if ( newString . charAt ( i ) == ' ' || newString . charAt ( i ) == '\t' ) continue ; else retval += newString . charAt ( i ) ; } return retval ; }
squeeze out all white space from a string and return the reduced string .
