[Overview][Resource strings][Constants][Types][Procedures and functions][Index] |
Find case-sensitive matches of a string using a Boyer-Moore algorithm
Source position: strutils.pp line 228
procedure FindMatchesBoyerMooreCaseSensitive( |
const S: PChar; |
const OldPattern: PChar; |
const SSize: SizeInt; |
const OldPatternSize: SizeInt; |
out aMatches: SizeIntArray; |
const aMatchAll: Boolean |
); |
const S: string; |
const OldPattern: string; |
out aMatches: SizeIntArray; |
const aMatchAll: Boolean |
); |
FindMatchesBoyerMooreCaseSensitive finds occurrences of OldPattern (with length OldPatternSize) in S (with length SSize). The search is performed case-sensitively, 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.
None.
|
Find case-sensitive matches of a string using a Boyer-Moore algorithm |
|
SringReplace |