3 ms·
StringTemplate t = RAW.”My name is \{name}”; STR.process(t)
by kaba0 4y ago
StringTemplate t = RAW.”My name is \{name}”;
STR.process(t)
- zaphirplane 4y agoThat’s special magic if I recall my Java syntax correctly System.out.print.”hello” isn’t a thing
- kaba0 4y agoYes, it is a very tiny new syntax so that templates can be distinguished from string literals (so string templates can never stand without a template processor, hence the RAW)