title: Spark Scala: How to remove double quotes around each line, including headers?
body: <p>I'm a beginning with Spark and the file I need to parse has this shape:</p>
  
  <pre><code>"VARIABLE;MOD;LIBMOD"
  "CDEXE;6;PBS between 25000 and 50000 euros"
  </code></pre>
  
  <p>How to have a Dataset[ValueDescriptor] out of it?</p>
  
  <p>A ValueDescriptor being:</p>
  
  <p><code>case class ValueDescriptor(variableName: String, value:String, label: String)</code></p>
  
  <p>I only found how to remove quotes around columns, not around each line.</p>
  
  <p>Up to now I was using code like this:</p>
  
  <pre><code>    sparkSession
        .read
        .option("header", "true")
        .option("delimiter", ";")
        .csv("file.txt")
        .withColumnRenamed("VARIABLE", "variableName")
        .withColumnRenamed("MOD", "value")
        .withColumnRenamed("LIBMOD", "label")
        .as[ValueDescriptor]
  </code></pre>