delphi如何在将一篇文章读入memo时去掉所有回车和换行符,并使Memo内部化
open dialog 1be ign if onendialog 1 . execute then begin memo 1 . loadfromfile(open dialog 1 . filename);for I 0 to memo 1 . lines . count-1 do begin for J 1 to length(memo 1 . lines)do if(copy(memo 1 . lines,J,1)= ' # 10 ')or(copy(memo 1 . lines,J,1) = '#13 ')结束;结束;结束;查看原帖> & gt