TStringsHelper.AddOrUpdate Method

Definition

Adds or updates a name-value pair.

Delphi
procedure AddOrUpdate(const name: string; const value: string)

Parameters

name
string
value
string

Remarks

Warning

There is a Values[name: string] property in the TStrings class, but the entry will be removed if the value is empty.