在输入时候禁止输入空格
很简单啊procedure TForm1.Button1Click(Sender: TObject);var ss:string;begin ss:='abc efg hi'; ss:=stringReplace(ss,' ','',[rfReplaceAll]); showMessage(ss);end;
end.