Function
| Static Public Summary | ||
| public |
* bruteForce(s: string, si: number, sj: number, p: string, pi: number, pj: number): IterableIterator<number> Find. |
|
| public |
Checks that the second input string matches the first input string at the given offsets. |
|
Static Public
public * bruteForce(s: string, si: number, sj: number, p: string, pi: number, pj: number): IterableIterator<number> source
import bruteForce from '@string-searching/brute-force/src/bruteForce.js'Find.
public startsWith(p: string, pi: number, pj: number, s: string, si: number): boolean source
import startsWith from '@string-searching/brute-force/src/startsWith.js'Checks that the second input string matches the first input string at the given offsets. Undefined behavior if one of the strings is not long enough.
