TDictionary.Substitute¶
Substitutes macros in a string using the dictionary
Declaration¶
Source position: fpmkunit.pp line 590
public
function TDictionary.Substitute(const Source: string;
const Macros: Array of string = string)
: string; virtual;
Description¶
Substitute performs macro expansion and variable substitution on the input string using dictionary entries.
This method processes macro syntax patterns and replaces them with corresponding values from variables and function callbacks.
The substitution supports both simple variable expansion and complex function calls with parameter passing.