Código Delphi [-] if (Copy(tuString,1,3) = 'XXX') then begin ....; end;
if (Copy(tuString,1,3) = 'XXX') then begin ....; end;