API Reference > ecschema-editing > Diagnostic > FormatDiagnosticReporter > formatStringFromArgs formatStringFromArgs MethodProtected Helper method that formats string with provided arguments where the place holders are in the the format '{0}', '{1}', etc. formatStringFromArgs(text: string, args: ArrayLike<string>, baseIndex: number = 0): string Parameter Type Description text string The text to format. args ArrayLike<string> The arguments to place in the text. baseIndex number The base index for the args, used for validation (typically 0, which is the default). Returns - string Defined in ecschema-editing/src/Validation/DiagnosticReporter.ts Line 133 Last Updated: 12 June, 2024