Function beforeLast

  • Get the string before the last instance of the found token.

    Returns

    Parameters

    • str: string
    • token: string

      The string to search for.

    Returns string

Generated using TypeDoc