Function index

  • Get non-negative index within string.

    Parameters

    • x: string

      a string

    • at: number

      character index

    Returns number

    +ve index

Generated using TypeDoc