dist/jcs-auto-validate.js
function formatString(string, params) {
  return string.replace(/{(\d+)}/g, function (match, number) {
    return typeof params[number] !== undefined ? params[number] : match;
  });
}
function formatString(string, params) {
  return string.replace(/{(\d+)}/g, function (match, number) {
    return typeof params[number] !== undefined ? params[number] : match;
  });
}
function formatString ( string , params ) { return string . replace ( / {(\d+)} / g , function ( match , number ) { return typeof params [ number ] !== undefined ? params [ number ] : match ; } ) ; }
Replaces string placeholders with corresponding template string
Replaces string placeholders with corresponding template string