How to replace all commas (,) in a String with a commas between double quotes (",")?
<p>If I have a string like this</p>

<p><code>String names = {"lucy, john, frank"}</code> but I want the string to look like: <code>{"lucy","john","frank"}</code></p>

<p>So I want to replace all commas with commas in double quotes (<code>","</code>)</p>

<p>I have <code>String newNames = names.replaceAll(",", "","");</code>   But this doesn't work. What's wrong?</p>