Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UnicodeString KeyPhrase = "the str your looking for";
- for (int i = 0; i < DBMemo1->Lines->Count ; i++)
- {
- UnicodeString LineToCheck = DBMemo1->Lines->Strings[i];
- if( LineToCheck.Pos( KeyPhrase ) )
- {
- DBMemo1->Lines->Delete(i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement