How to trim a given string using String trim method in Java

Published --