Function construct

  • Returns the suffix array of a given string.

    Parameters

    • text: string

      An input string.

    • zero_based: boolean = true

      The smallest value is 0 in the suffix array if the input value is true; otherwise the smallest value is 1.

    Returns number[]

Generated using TypeDoc