title: Extract string after first comma and store it in another column using R
body: <p>I want to split text after the first comma and put it in another column of same dataframe.</p>
  
  <pre><code>s2 &lt;- data.frame(text =c("Hi Prashant, As per the contract, employees can avail for various services like gym, recreation center, etc","Various dishes are available in canteen like pasta, rice dishes, etc"),stringsAsFactors = FALSE)
  
  s2$new = gsub(".*,", "", s2)
  </code></pre>
  
  <p>But its splitting after last comma, which I don't want.</p>
  
  <p>Expected output after splitting text after first comma and storing it another column called 'new' should look like:</p>
  
  <p>first row: As per the contract, employees can avail for various services like gym, recreation center, etc.</p>
  
  <p>second row: rice dishes, etc.</p>