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
698
posted 14 years ago by emdin