[Overview][Resource strings][Constants][Types][Procedures and functions][Index] Reference for unit 'strutils' (#rtl)

FindMatchesBoyerMooreCaseInSensitive

Find case-sensitive matches of a string using a Boyer-Moore algorithm

Declaration

Source position: strutils.pp line 231

procedure FindMatchesBoyerMooreCaseInSensitive(

  const S: PChar;

  const OldPattern: PChar;

  const SSize: SizeInt;

  const OldPatternSize: SizeInt;

  out aMatches: SizeIntArray;

  const aMatchAll: Boolean

);

procedure FindMatchesBoyerMooreCaseInSensitive(

  const S: string;

  const OldPattern: string;

  out aMatches: SizeIntArray;

  const aMatchAll: Boolean

);

Description

FindMatchesBoyerMooreCaseInSensitive finds occurrences of OldPattern (with length OldPatternSize) in S (with length SSize). The search is performed case-insensitively, and all (zero based) positions are reported in aMatches. If aMatchAll is True, all positions will be reported. If aMatchAll is False, only the first position is reported.

Errors

None.

See also

FindMatchesBoyerMooreCaseSensitive

  

Find case-sensitive matches of a string using a Boyer-Moore algorithm

SringReplace


Documentation generated on: Sep 28 2017