boyer-moore.core

index-of

(index-of haystack needle)(index-of haystack needle offset)
Returns the index with the string of the first occurrence of the
specified substring. If it is not a substring, return nil.

haystack - the string to be scanned
needle   - the target string to search