Show: Delphi C++
Display Preferences

System.Classes.TStrings.NameValueSeparator

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property NameValueSeparator: Char read FNameValueSeparator write FNameValueSeparator;

C++

__property System::WideChar NameValueSeparator = {read=FNameValueSeparator, write=FNameValueSeparator, nodefault};

Properties

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

Description

Indicates the character used to separate names from values.

Strings that contain the NameValueSeparator character are considered name-value pairs. NameValueSeparator defaults to the equal sign (=). TStrings defines various methods for accessing names and values and for searching for specific names.

Strings that are name-value pairs consist of a name part, the separator character, and a value part. Any spaces around the separator character are part of the name or value. This convention corresponds to the format used in many initialization files. For example:

DisplayGrid=1
SnapToGrid=1
GridSizeX=8
GridSizeY=8

See Also

Personal tools
In Other Languages
Previous Versions
Assistance