title: Split the comma separated values using Vuejs
body: <p>I want to split the values from the String and add it to an array where I use it to display values in a drop down manner in Vuejs</p>
  <pre><code>String val1 = &quot;abc,123,676,uuu&quot;. 
  </code></pre>
  <p>Once iterated</p>
  <pre><code>          &lt;li v-for = &quot;val in valList&quot; :key=&quot;val.index&quot;&gt; {{val}}&lt;/li&gt;
  
       abc
       123
       676
       uuu
  </code></pre>