System.WideStrings.TWideStrings.ExtractName
Delphi
function ExtractName(const S: WideString): WideString;
C++
System::WideString __fastcall ExtractName(const System::WideString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.WideStrings.pas System.WideStrings.hpp |
System.WideStrings | TWideStrings |
Description
Returns the name portion of a string that is a name value pair.
TWideStrings 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.