declare
  str VARCHAR(32);
begin
  str := 'aaaaaaaaaa';
  for i IN 1..3 LOOP
    --将str的最后两个字符去掉
  END LOOP;
end;str里的字符都是同样的。