O'Reilly logo
  • Manfred Kipfelsberger thinks this is interesting:

To use basic string interpolation in Scala, precede your string with the letter s and include your variables inside the string, with each variable name preceded by a $ character. This is shown in the println statement in the following example:

From

Cover of Scala Cookbook

Note

Almost the same in C#6 where you prefix the interpolated string with $ and embed variables in curly braces