help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Objects' (#rtl)

TStringList.Get

Return a string by key name

Declaration

Source position: objects.pp line 533

function TStringList.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

TStrListMaker.Put

  

Add a new string to the list with associated key.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505