Notice Of Closure

Please note that this website is due to close down on 15th June 2020.

In the interim I will try to move as much content as possible over to my GitHub account. Thanks to everyone who has supported the site over the years.

» Help

Using the TStrings.ValueFromIndex property


Delphi 7 added the ValueFromIndex property to TStrings. Here's how to use it:

  MyStringList: TStringList;
  // ...
  // create a populate string list with name=value data
  // ...
  str := MyStringList.Values [MyStringList.Names [I]]; // old
  str := MyStringList.ValueFromIndex [I]; // new
Author: Shlomo Abuisak
Contributor: Shlomo Abuisak
Added: 2009-11-05
Last updated: 2009-11-05

« Return to contents »