I've found a great peace of code in JavaScript,the source give us the ability to use String.Format() in our JS code, the same as we do in .Net.I found this very usefull...
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.