horse_badorties
08/01/2017, 8:01 AM$ sign seems to be evaluated as a String template only if the following token is either surrounded by {} or denotes a reference. Hence something like $123 can never be a template and the dollar sign is part of the String. Which means that $123 is equivalent to \$123. Is that true?
println("$1 \$1 ${1}")