tstringlist
How to synchronize equal lines in two stringlists
I have two stringlists that I wish to synchronize, so that equal lines get the same index, while different lines will be kept in the list where they originally were, and the other stringlist should ge[详细]
2023-04-09 01:10 分类:问答Using TStringList's AddObject with integers?
Using delphi 7: How can I add an integer to the object portion of a stringlist item, using AddObject? How can I retriev开发者_如何学运维e the integer back from a object[详细]
2023-04-01 17:20 分类:问答How can I show the contents of a TStringList in the debugger?
I want to display the entire content of a TStringList while debugging the application. Instead I just get pointers. The Flist is showing开发者_如何学C only the address.If you are using Delphi 2010 or[详细]
2023-03-28 09:57 分类:问答c# - BinarySearch StringList with wildcard
I have a sorted StringList and wanted to replace foreach (string line3 in CardBase.cardList) if (line3.ToLower().IndexOf((cardName + Config.EditionShortToLong(edition)).ToLower()) >= 0)[详细]
2023-03-24 09:30 分类:问答Delete strings from TStringList
I have a List Box or a List View with items. And I have a String List with the same items (strings) as the List Box/List View. I want to delete all selected items in the List Box/List View from the St[详细]
2023-03-23 07:46 分类:问答TStringList .add produces duplicates from random function
Having a problem I can\'t seem to put my finger on. I am trying to gather strings (random code with letters and numbers) from a function call and place into my TStringList variable. Relevant code is b[详细]
2023-03-20 21:45 分类:问答Delphi Tstringlist, write file synch
I make a very simple log with tstringlist. I write it to file: pLog.SaveToFile(FileName); Somewhere there is a bug, and my computer is shut-down.[详细]
2023-03-16 22:52 分类:问答TStringList splitting bugs
Recently I\'ve been informed by a reputable SO user, that TStringList has splitting bugs which would cause it to fail parsing CSV data. I haven\'t been informed about the nature of these bugs, and a s[详细]
2023-03-14 20:45 分类:问答TStringList problem with values at index
So I have several summary 开发者_如何学Gofiles that I want to read and get the values from. I am doing the following:[详细]
2023-03-11 21:16 分类:问答Why does Delphi's TStringList.InsertObject() method thrown an Exception if the list is Sorted?
In Delphi 6 if you try to insert an object into a TStringList that is sorted (Sorted = true) an Exception is thrown warning you that InsertObject() is not allowed on a sorted list.I could understand t[详细]
2023-03-08 12:25 分类:问答