Click or drag to resize
BoyerMooreSearch Method (String)
Returns the index of the first occurrrence of the pattern string in the text string.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int Search(
	string txt
)

Parameters

txt
Type: SystemString
txt the text string

Return Value

Type: Int32
the index of the first occurrence of the pattern string in the text string; N if no such match
See Also