TTemplateVars.IndexOfVar¶
Returns the index of the variable with the specified name
Declaration¶
Source position: fpweb.pp line 98
public
function TTemplateVars.IndexOfVar(const AName: string) : Integer;
Description¶
Searches for a template variable with the given name and returns its index in the collection. Returns -1 if no variable with the specified name is found.