Substitutes macros in a string using the dictionary
Source position: fpmkunit.pp line 586
public function TDictionary.Substitute( |
const Source: string; |
const Macros: array of string |
):string; virtual; |
Source |
|
Source string containing macro patterns |
Macros |
|
Additional macros for substitution |
String with all macro substitutions performed
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.