// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
public class StrTmpl21 {
    public static void main(String[] args) {
        double v1 = 1.0;
        double v2 = 5.0;
        String s = STR."\{v1} - \{v2}";
        System.out.println(s);
    }
}
