Sign in Join
FPDoc Onlineexperiment

TStrings.Shift function

Member of TStringspublicIn unit Classes

Return and remove the first string in the list.

Declaration

pascal
function 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

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