SetLength

Declaration: SetLength(x: string/dynarray; Size: integer);
Sets the length of a string or dynamic array variable.