I have the following items in a memo:
ns
ns
basica+textura+Al
ns
ns
ns
ns
basica+textura+Al
basica+textura+Al
basica+textura+Al
basica+textura+Al
ns
ns
ns
I would like it to add how many times ns
appears.
I tried using memo1.Lines.IndexOf('ns');
, but it only brings one occurrence.
I think it fits a loop to the end of the memo, but how do I do that?