class function yxm.trimblank(s: string): string;
var
  i, j: integer;
begin
  repeat
    i := pos(' ', s);
    j := length(s);
    if i > 0 then
      s := copy(s, 1, i - 1) + copy(s, i + 1, j - i);
  until i = 0;

  Result := s;
end;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
猜你喜欢
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
  • 2022-02-25
  • 2022-12-23
  • 2022-12-23
  • 2022-03-11
相关资源
相似解决方案