BoyerMooreSearch Method (Char) |
Returns the index of the first occurrrence of the pattern string
in the text string.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int Search(
char[] text
)
Parameters
- text
- Type: SystemChar
the text string
Return Value
Type:
Int32the index of the first occurrence of the pattern string
in the text string; N if no such match
See Also