RAD Studio VCL Reference
TStrings.ExtractName Method

Returns the name portion of a string that is a name value pair.

function ExtractName(const S: string): string;
__fastcall AnsiString ExtractName(const AnsiString S);

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. 


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