Profile
Achievement
emdin's Recent Snippets
- All /
« Prev 1 Next »
*String template (String template, Object data)*
Usage:
template('Hello <b>${name}!</b> (not ${name}?)', { name: 'Gandalf' })
Result: Hello <b>Gandalf!</b> (not Gandalf?)
0
655
posted 13 years ago by emdin