Space Separator in String in Java

String[] splitted = "peter,james,thomas".split(",");
Faithful Finch