Function lastIndexOf

  • Get last index of a given infix in string.

    Parameters

    • x: string

      a string

    • infix: string

      infix to look for

    • Optional rstart: number

      reverse start index [end-1]

    Returns number

    last index of infix

Generated using TypeDoc