System.Classes.TStrings.ExtractName
Delphi
function ExtractName(const S: string): string;
C++
System::UnicodeString __fastcall ExtractName(const System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Classes.pas System.Classes.hpp |
System.Classes | TStrings |
Description
Returns the name portion of a string that is a name value pair.
TStrings calls ExtractName internally to parse strings that are name-value pairs and return the name portion.
S is the string to parse.
If S is a name-value pair, ExtractName returns the name portion. Otherwise, ExtractName returns an empty string.