개발/자바 StringUtils 시간의 효율화 2022. 5. 23. 14:41 https://hahaha2016.tistory.com/5 StringUtils(Trim, Truncate) -문자열 처리 클래스 - org.apache.commons.lang3.StringUtils ==================== Trim * StringUtils.trim(String str) - 문자열 앞 뒤에 공백을 제거해준다. - str이 null이면 null 값을 반환한다. StringUtils.trim(null) = nu.. hahaha2016.tistory.com https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html StringUtils (Apache Commons Lang 3.12.0 API) Splits a String by Character type as returned by java.lang.Character.getType(char). Groups of contiguous characters of the same type are returned as complete tokens, with the following exception: the character of type Character.UPPERCASE_LETTER, if any, im commons.apache.org