String Interpolation - Scala Documentation

Josh Suereth

Starting in Scala 2.10.0, Scala offers a new mechanism to create strings from your data: String Interpolation. String Interpolation allows users to embed variable references directly in processed string literals. Here’s an example:


This is a companion discussion topic for the original entry at http://docs.scala-lang.org//overviews/core/string-interpolation.html.html