TStringList.Names

property Names[i: Integer]: String Access mode: R

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

The i 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 i in the list. If the string at position i is not a name-value pair (i.e. does not contain the equal sign (=)), then an empty name is returned.