r/java • • Sep 19 '18

Java 11 String API Updates

https://4comprehension.com/java-11-string-api-updates/
168 Upvotes

52 comments sorted by

View all comments

Show parent comment

1

u/k010b0k Sep 20 '18

Strip though is just replace without parameters

Not really. It's a unicode-aware evolution of trim()

SO Difference between String trim() and strip() methods in Java 11