private static String cleanString(String str)
    {
	String result = str;
	result = result.replace("\r", "");
	result = result.replace("\n", "");
	result = result.replace("\t", "");

	return result;
    }
private static String cleanString ( String str ) { String result = str ; result = result . replace ( "\r" , "" ) ; result = result . replace ( "\n" , "" ) ; result = result . replace ( "\t" , "" ) ; return result ; }
Cleans the special symbols (e.g., "\t", "\n") in a string
@param str
the string to be checked
@return the cleaned string