String <java.sun.com/.../String.html>
trim <java.sun.com/.../String.html#trim()> ()
Returns a copy of the string, with leading and trailing whitespace
omitted.
Example:
String str = "a e i o u";
System.out.println(str);
str = str.trim();
System.out.println(str);
Your outputs will be:
a e i o u
aeiou