Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
e.g.:
var
i,j,c:Integer;
begin
c:=0;
for i:=0 to Memo1.Lines.Count-1 do
for j:=1 to Length(Memo1.Lines[i]) do
if Memo1.Lines[i][j]='.' then
c:=c+1;
ShowMessage(IntToStr(c));
end;
@ alkisg
BTW, I don't seem to find "linebreak" among the properties of my D7 TStringList (or TStrings). Is it a later D version you are referring to, or am I missing something?
Thanks!