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

TStrings.Shift

Return and remove the first string in the list.

Declaration

Source position: classesh.inc line 1050

public function TStrings.Shift: string;

Description

Shift returns the first string in the list and removes it from the list, causing all values to shift one position. If there are no strings in the list, an empty value is returned.

See also

TStrings.Slice

  

Return a subrange of strings starting at a given index.

TStrings.Pop

  

Remove the last string of the list and return it.

TStrings.Delete

  

Delete a string from the list.

TStrings.Insert

  

Insert a string in the list.


Documentation generated on: Dec 22 2024