I am trying to import txt file and iam getting an error

And I tried to delete this character in the XML port and iam getting different error

trigger OnOpenPage()
var
String: Text;
Where: Text;
Which: Text;
NewString: Text;
Text000: label 'Achtung';
Text001: Label '>%1< is transformed to >%2<';
begin
String := Text000;
Where := '<>';
Which := '';
NewString := DelChr(String, Where, Which);
Message(Text001, String, NewString);
end;
How can i remove this 2 '' character while importing XML file any help will be great, Thanks in Advance.