title: How to convert comma-separated strings to Cassandra list format in Vim?
body: <p>I would like to convert an all-comma-separated string literal in double quotes, such as the following:</p>
  <pre class="lang-none prettyprint-override"><code>&quot;hello,world,stack,overflow&quot;
  </code></pre>
  <p>into the <a href="http://cassandra.apache.org/doc/cql3/CQL.html#collections" rel="nofollow noreferrer">Cassandra list format</a>:</p>
  <pre class="lang-none prettyprint-override"><code>&quot;['hello','world','stack','overflow']&quot;
  </code></pre>
  <p>where each element is embraced in single quotes, and the whole original string is embraced in square brackets and double quotes. How can I do it in Vim?</p>
  <p>In my input, such quoted comma-separated strings are parts of rows in a CSV-formatted table. Below is an example:</p>
  <pre class="lang-none prettyprint-override"><code>other,fields,123,456,&quot;hello,world,stack,overflow&quot;
  second,row,567,890,&quot;another,comma,separated,string&quot;
  ...
  </code></pre>
  <p>I would like to transform it into:</p>
  <pre class="lang-none prettyprint-override"><code>other,fields,123,456,&quot;['hello','world','stack','overflow']&quot;
  second,row,567,890,&quot;['another','comma','separated','string']&quot;
  ...
  </code></pre>
  <p>None of my target strings span multiple lines.</p>