Answers for "get last element of array delphi"

2

get last element of array delphi

const
  arrDays: array of string = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'];
begin
  ShowMessage(arrDays[Length(arrDays) - 1]);
end;
Posted by: Guest on October-10-2020

Code answers related to "get last element of array delphi"

Browse Popular Code Answers by Language