Is there a reason to prefer this implementation over alexei' sprintf.js? http://github.com/alexei/sprintf.js.git
There is nearly no difference. My sprintf implementation just seems to be a little bit older (it was already written in 2006, the other one seems to be from 2007). But from a functionality point of view they are more or less equal. Choose any of the two. I see no major difference.