[Overview][Constants][Classes][Procedures and functions][Index] Reference for unit 'StrExtra' (#Pkg)

TStringFinder

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Fast string finder using Horspool's algorithm.

Declaration

Source position: strextra.pas line 46

type TStringFinder = class

public

  constructor Create();

  

Creates an object able to find APattern.

  destructor Destroy; override;

  function Pos();

  

Find the first occurence of Pattern in S.

  function PosEx();

  

Find the first occurence of Pattern in S starting at position Start.

  property Pattern: string; [rw]

  

The string that the object is able to find.

end;

Inheritance

TStringFinder

  

Fast string finder using Horspool's algorithm.

|

TObject