title: Split value with comma separate in mvc View
body: <p>I want to show value in separate column which is join with comma in a column</p>
  
  <p>Coming Value Is </p>
  
  <pre><code>S/N         Data
   1        Nitesh,ramesh,rahul
   2        Rahul,ram.Shyam
   3        Nilu,Heri,Haru
  </code></pre>
  
  <p>I want data in this Format  This Is Tolist </p>
  
  <pre><code>S/N       Data1          Data2      Data3     
   1        Nitesh        ramesh      rahul
   2        Rahul         ram         Shyam
   3        Nilu          Heri        Haru
  </code></pre>
  
  <p>Here Data1, Data2, Data3 are different column names</p>
  
  <p>Code Is</p>
  
  <pre><code>  @foreach (var v in ViewBag.v)
    {
  
      &lt;tr&gt;
             &lt;td&gt;@i&lt;/td&gt;
              &lt;td&gt;@v.Data&lt;/td&gt;  //Data:- Nitesh,ramesh,rahul
              &lt;/tr&gt;
               i = i + 1;
           }
  </code></pre>