MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / DeleteEmptyLines

Method DeleteEmptyLines

source/messmatch.cpp:384–392  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

382}
383//---------------------------------------------------------------------------
384void TMessMatch::DeleteEmptyLines(void)
385{
386 for(int i=0; i<Text1->Count; i++)
387 if( Text1->Strings[i].Trim().Length() == 0 )
388 Text1->Delete(i--);
389 for(int i=0; i<Text2->Count; i++)
390 if( Text2->Strings[i].Trim().Length() == 0 )
391 Text2->Delete(i--);
392}
393//---------------------------------------------------------------------------
394String TMessMatch::GetDelimitedText(TStringList * p, String delimstr)
395{

Callers 1

FromDialogMethod · 0.80

Calls 1

DeleteMethod · 0.80

Tested by

no test coverage detected