DEV Community

Pramod Bablad
Pramod Bablad

Posted on

Java New String Methods – From Java 8 To Java 17

Strings are the most used data type in Java. Almost every application in Java makes use of strings. That’s why strings are treated with special attention in Java. From time to time, new methods are added to String class so that working with strings becomes effortless and simple. join() in Java 8, chars() and codePoints() in Java 9, isBlank(), lines(), repeat(), strip(), stripLeading() and stripTrailing() in Java 11, indent(), transform(), describeConstable() and resolveConstantDesc() in Java 12, formatted(), stripIndent() and translateEscapes() in Java 15 are some new Java string methods.

See more at

Top comments (0)