Fight the Future

Java言語とJVM、そしてJavaエコシステム全般にまつわること

文字列の始めだけあるいは終わりだけtrimする

StringUtils.stripStart(str, null)
StringUtils.stripEnd(str, null)