title: How to insert double quotes into String with interpolation in scala
body: <p>Having trouble escaping all the quotes in my function </p>
  
  <p>(basic usage of it -> if i find a string do nothing, if its not a string add " in the begin and end)</p>
  
  <p>code snippet :</p>
  
  <pre><code>  def putTheDoubleQuotes(value: Any): Any = {
      value match {
        case s: String =&gt; s //do something ...
        case _  =&gt; s"\"$value\"" //not working
      }
    }
  </code></pre>
  
  <p>only thing that worked was :</p>
  
  <blockquote>
    <p>case _ => s"""\"$value\""""</p>
  </blockquote>
  
  <p>is there a better syntax for this ? </p>
  
  <p>it looks terrible and the IDE (IntelliJ) marks it in red (but lets you run it which really pisses me!!!!!)</p>