whole_func_string: function sprintf (fstr, array) {
    // check the formatted string is for JSON and confirm is a valid JSON
    array.forEach(function (value) {
      fstr = format(fstr, value);
    });
    return fstr;
  }
func_code_string: function sprintf (fstr, array) {
    // check the formatted string is for JSON and confirm is a valid JSON
    array.forEach(function (value) {
      fstr = format(fstr, value);
    });
    return fstr;
  }
func_documentation_string: HELP FUNCTIONS format string from array source