The Pos function only finds the first occurence. direct search with Pascal test and loops.search algorithm (Boyer More Horspool etc).To search a pattern in a string, there are many possibilities: This is why we created the c_find_memo.Ģ - Organization 2.1 - The search function The control will be a tMemo descendent (or container) with the added search functionality. The basic tMemo does not include a "find" function. It sometimes happens that in huge debug logs, we want to find some string patterns. scope : Delphi 1 to 8 for Windows, Kylixġ - Introduction As you might have noticed, we very often use tMemos in our applications, forĭebug or display purposes.hardware used : Pentium 1.400Mhz, 256 M memory, 140 G hard disc.
0 Comments
Leave a Reply. |