Monthly Archives: March 2007

sprintf for JavaScript

Avoid writing formatting functions in JavaScript by grabbing yourself a decent sprintf implementation – handling padding, truncation, floating-point numbers, left/right alignment and re-ordered arguments. You can download sprintf for JavaScript, available under the Create Commons Attribution License. Now license free

Posted in JavaScript