const 
  s:widestring='k你asdfdsf好d吗?';
var
  i:integer;
  y,h:string;
begin
  while Length(s)<>0 do
    begin
      if Length(s[i])=Length(string(s[i])) then
        y:=y+s[i]
      else h:=h+s[i];
      s:=copy(s,2,length(s));
    end;
  edit1.Text:=y;
  edit2.Text:=h;
end;

相关文章:

  • 2021-12-11
  • 2022-12-23
  • 2021-12-06
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-11-27
猜你喜欢
  • 2022-12-23
  • 2021-10-04
  • 2021-10-28
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2021-06-24
相关资源
相似解决方案