The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



FoundItemsPos


Unit: SDL_math2
Class: TStringSearch
Declaration: property FoundItemsPos[ix: integer]: integer

The array property FoundItemsPos contains the positions of the found substrings which were used as the basis for the search expression match. The position is relative to the beginning of InString. The parameter ix may assume values between 1 and NumFoundItems.

Hint: Please note that FoundItemsPos contains valid search items even if the search expression did not match InString (i.e. the DoSearch method returned a FALSE value).



Last Update: 2012-Oct-20