I need to split my String by spaces. For this I tried:
str = \"Hello I\'m your String\"; String[] splited = str.split(\" \");
But it doesn\
Try
String[] splited = str.split("\\s");
http://download.oracle.com/javase/tutorial/essential/regex/pre_char_classes.html