private String getFirstCmd(String cmd, int length) {
    return cmd.substring(length).trim();
  }
Extract and clean up the first command in the input.
cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java