TStringList.Get

Return a string by key name

Declaration

Source position: objects.pp line 568

default 
  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

Name Description
TStrListMaker.Put Add a new string to the list with associated key.