Sign in Join
FPDoc Onlineexperiment

TStringList.Get function

Member of TStringListIn unit Objects

Return a string by key name.

Declaration

pascal
function Get(Key: Sw_Word): string

Description

Get reads the string with key Key from the list of strings on the stream, and returns this string. If there is no string with such a key, an empty string is returned.

Errors

If no string with key Key is found, an empty string is returned. A stream error may result if the stream doesn't contain the needed strings.

See also

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