static String xmlattrencode(String str) {
    str = replace(str, "\"", "&quot;");
    str = replace(str, "<", "&lt;");
    return str;
  }
Split the line into an array by tokenizing on space characters

@param line
         the line to break up
@return an array of individual words
beeline/src/java/org/apache/hive/beeline/BeeLine.java