Delphi Array Length Javascript Method For Separating