title: Filter Column Text starting with > in Spark Scala DataFrame
body: <p>I need to filter only the text that is starting from > in a column.I know there are functions startsWith &amp; contains available for string but I need to apply it on a column in DataFrame.</p>
  
  <pre><code> val dataSet = spark.read.option("header","true").option("inferschema","true").json(input).cace()
   dataSet.select(col = "_source.content").filter(_.startsWith("&gt;"))
  </code></pre>
  
  <p>startsWith is not available for dataset.</p>