export function formatString(r,...t){for(let e=0;e<t.length;e++)r=r.replace(`{${e}}`,t[e]);return r};