regex replace comma in string code example
Example: replace comma from a string
String names = "{\"lucy,john,frank\"}";
String newNames = names.replace(",", "\",\"");
String names = "{\"lucy,john,frank\"}";
String newNames = names.replace(",", "\",\"");