Skip to content

TStrings.Fill

Set a range of strings in the list to the specified value.

Declaration

Source position: classesh.inc line 1128

public 
procedure TStrings.Fill(const aValue: string; aStart: Integer; 
                       aEnd: Integer);

Description

Fill sets the strings with indexes in the range aStart..aEnd to aValue. if the aStart..aEnd are outside the valid range of indexes for the list, their values are adapted to fit the range. (0 to Count-1)

See also

Name Description
Count Number of strings in the list.
Strings Indexed access to the strings in the list.