Java tutorial
public class Main { public static void main(String[] argv) { System.out.println("abc".trim()); // abc System.out.println("\t a b c\n".trim()); // a b c } }