#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's tweet image. #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.

Long live the apache StringUtils


United States Trends
Loading...

Something went wrong.


Something went wrong.