title: How to split rows of a Spark RDD by Deliminator
body: <p>I am trying to split data in Spark into the form of an RDD of <code>Array[String]</code>. Currently I have loaded the file into an RDD of <code>String</code>. </p>
  
  <p><code>&gt; val csvFile = textFile("/input/spam.csv")</code></p>
  
  <p>I would like to split on a a <code>,</code> deliminator. </p>