Typescript-Algorithms
    Preparing search index...

    Variable find_the_index_of_the_first_occurrence_in_a_stringConst

    find_the_index_of_the_first_occurrence_in_a_string: (
        haystack: string,
        needle: string,
    ) => number = strStr

    Type declaration

      • (haystack: string, needle: string): number
      • Parameters

        • haystack: string
        • needle: string

        Returns number