title: String Split function in MySQL
body: <p>can anybody tell me how to implement a split function in mysql which behaves like Javascript split.</p>
  
  <p>I want a function like this</p>
  
  <pre><code>SELECT Split('a,b,c,d', ',') AS splitted
  </code></pre>
  
  <p>Which give result like </p>
  
  <pre><code>splitted
  --------------
  a 
  b 
  c 
  d 
  </code></pre>
  
  <p>Can anybody help me?</p>
  
  <p>I saw some answers <a href="https://stackoverflow.com/a/26491403/721597">here</a>, and somewhere else, but those functions need the position of string to be returned, which I don't want/have</p>
  
  <p>Thank you</p>