Sign in Join
FPDoc Onlineexperiment

TStrings.ExtractName function

Member of TStringspublicIn unit Classes

Extract the name part of a string.

Declaration

pascal
function ExtractName(const S: string): string

Description

ExtractName returns the name part (the part before the NameValueSeparator character) of the string. If the character is not present, an empty string is returned. The resulting string is not trimmed, it can end or start with spaces.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.