Comment

djo

Google for "javascript sprintf" throws a few things up. More code, but at least printf format strings are pretty universal.