RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideStrings.NameValueSeparator Property

Indicates the character used to separate names from values.

Pascal
property NameValueSeparator: WideChar;
C++
__property WideChar NameValueSeparator;

Strings that contain the NameValueSeparator character are considered name-value pairs. NameValueSeparator defaults to the equal sign (=). TWideStrings 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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!