public static String normalizeIdentifier(String identifier) {
	  return identifier.trim().toLowerCase();
	}
Finds trimmed length of utf-8 string
common/src/java/org/apache/hive/common/util/HiveStringUtils.java