If you do not want to get that in a String array and print it straight then u can use this ...

String test="java is best";
System.out.prin tln( test.split(" ")[2]); ......

this will give you : best
so it mean
[0] = java
[1] = is
[2] = best