str = "Hello I'm your String"; String[] splited = str.split("s+");
String[] splitted = "peter,james,thomas".split(",");