Icon IndexOf Method

function IndexOf(const Value: String; StartIndex: Integer=0;
      PartialMatch: Boolean=False): Integer

Available In: Client and Server Applications

Use this method to return the index of a particular string in the list of strings. The StartIndex parameter indicates the index into the list of strings at which to start the search, and the PartialMatch parameter indicates whether only the length of the search string should be used when performing the comparisons. The SameText function is used by this method to compare the strings.
Image