System.Classes.TStrings.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Add(const S: string): Integer; virtual;

C++

virtual int __fastcall Add(const System::UnicodeString S);

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TStrings

Description

Adds a string at the end of the list.

Call Add to add a string to the end of the list. Add returns the index of the new string.

See Also

Code Examples