TTemplateParser.ReplaceTag function
Replace a tag with a value.
Declaration
function ReplaceTag(const Key: string; TagParams: TStringList;
out ReplaceWith: string): BooleanArguments
Key | Name of the tag to replace. |
TagParams | Parameters for the tag. |
ReplaceWith | The replacement value for the tag. |
Function result
True if the tag was replaced.Description
ReplaceTag will replace the tag with name
Key and parameters
TagParams with the value in
ReplaceWith.
The function returns True if the tag was replaced, False otherwise.
A replacement will happen if the OnReplaceTag event is assigned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
