The following code example will compile in Delphi XE5 to Seattle (10.0). In Delphi Tokyo (10.2) I get a compile error on the ExcludeEmpty parameter (E2003 Undeclared identifier: 'ExcludeEmpty').
What is going wrong?
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils;
var S : String ;
SA : Tarray<String> ;
begin
S := '1234 5678' ;
SA := S.Split([' '], ExcludeEmpty)
end.