Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStrings.Pop

Remove the last string of the list and return it.

Declaration

Source position: classesh.inc line 1040

public function TStrings.Pop: string;

Description

Pop returns the last list in the string and removes it from the list. If there are no strings (i.e. Count equals zero), an empty string is returned.

See also

TStrings.Add

  

Add a string to the list.

TStrings.Shift

  

Return and remove the first string in the list.

TStrings.Slice

  

Return a subrange of strings starting at a given index.


Documentation generated on: Nov 22 2024