#Java11 added new methods to the String class: • isBlank() • lines() • repeat(int) • strip() • stripLeading() • stripTrailing() Prior to #Java 11, this functionality required ugly regex replacements or a third-party library like Apache Commons.
@javaCodeDaily @OpenJDK @java @adoptopenjdk Long live the apache StringUtils