I was wondering if there is a way to copy text from a specific line of memo. For example, I want to store the content from the 3rd line of my memo to a string, then do some operation on that string and copy it to another memo/edit.
I've tried a few variations of this, but none work:
str_temp = Memo1->Lines[2].Text;
Memo2->Lines->Append(str_temp);
when I ask from Lines[0]
it simply copies everything from the memo into the string:
str_temp = Memo1->Lines[0].Text;
Memo2->Lines->Append(str_temp);