• Extracts the text in a url between the last forward slash and the beginning of the url's parameters.

    Parameters

    • url: string

      URL to work with

    Returns string

    Text extracted; empty if url ends with a forward slash or has a "?" immediately after the last forward slash