how to separate a string in java by comma code example
Example: separate string by comma java
String names = "prappo,prince";
String[] namesList = names.split(",");
String names = "prappo,prince";
String[] namesList = names.split(",");