Delphi Check If String Is In Array Js Delete