TStringsHelper.AddOrUpdate(string,string) Method

Adds or updates a name-value pair.

Namespace: Spring.Helpers
public
 procedure AddOrUpdate(const name, value: string);

Parameters

name
Type: string

value
Type: string

Warning

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