Get your own website
var util = require('util');
var txt = 'Congratulate %s on his %dth birthday!';
var result = util.format(txt, 'Linus', 6); 

console.log(result);

              
Congratulate Linus on his 6th birthday!