|
While
I don't know (don't use arrays often personally - especially when I need to
search for things) but if you did that, it'd be interesting to know it could
counter match the first 3 chars of the item at index 4 and the last 2 chars of
the item at index 3.
Also
what the index actually was of the search item.
Guess
the array elements would have to be all the same size for that to work and make
it possible to get the actual index as well.
Personally I prefer a TStringList or custom sort added
to a TList.
Also
if the array is relatively small (around 30 elements), scanning the array has a
minmal penalty.
|
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
