Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lucmarcio/6351ed9af8b1133e18cef3e6906ac854 to your computer and use it in GitHub Desktop.
Save lucmarcio/6351ed9af8b1133e18cef3e6906ac854 to your computer and use it in GitHub Desktop.
ConvertArrayToString
function StrArray(Const AnArray: array Of String): String;
var
Index: integer;
begin
Result := '[';
Index := Low(AnArray);
While Index < High(AnArray) Do
Begin
Result := Result + (AnArray[Index]) + ',';
Inc(Index);
End;
Result := Result + (AnArray[High(AnArray)]);
Result := Result + ']';
end;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment