Icon FindPartial Method

function FindPartial(const S: String; var Index: Integer;
      PartialLength: Word): Boolean

Usage

Use the FindPartial method to find a given string in the string list using only the first N characters indicated by the PartialLength parameter. This method returns True if the string is found in the list and False if it is not. If the string is found, the Index variable parameter will contain the 0-based position of the string in the string list.
Image