﻿String.format=function(a){for(var i=0;i<arguments.length;i++){var b=new RegExp("\\{"+(i-1)+"\\}","gm");a=a.replace(b,arguments[i])}return a};