Answers for "replace comma from a string"

0

replace comma from a string

String names = "{\"lucy,john,frank\"}";
String newNames = names.replace(",", "\",\"");
Posted by: Guest on June-24-2020

Code answers related to "replace comma from a string"

Browse Popular Code Answers by Language