Sign in Join
FPDoc Onlineexperiment

TStrings.Names property

Member of TStringspublicIn unit Classes

Name parts of the name-value pairs in the list.

Declaration

pascal
property Names[Index: Integer]: string read GetName;

Description

Names provides indexed access to the names of the name-value pairs in the list. It returns the name part of the Index-th string in the list.

The index is not an index based on the number of name-value pairs in the list. It is the name part of the name-value pair a string Index in the list. If the string at position Index is not a name-value pair (i.e. does not contain the equal sign (=)), then an empty name is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.