2016-12-27 08:10:47 -08:00

11 lines
197 B
Scala

val n = 123;
val a = s"n=$n";
val a2 = s"n=$n''";
val b = s"""n=$n""";
val c = f"n=$n%f";
val d = f"""n=$n%f""";
val d2 = s"""a"""";
val e = s"abc\u00e9";
val f = s"a${n}b";
val g = s"a${n + 1}b";