Substring Java com base no delimitador

String[] number_withStatus = scan.next().split(",");
Fahim Foysal