printf() or for C#/Java programmers,
IFormatProvider for .NET).
My basic requirement is thousand separator format for numbers for now, but something that handles lots of combinations (including dates) would be good.
I realise Microsoft's Ajax library provides a version of
String.Format() but we don't want the entire overhead of that framework.