API

Function GetExtensionFromUrl

  • Gets the file extension from a URL.

    Parameters

    • url: string

      The URL to get the file extension from.

    Returns string

    The file extension, or an empty string if no extension is found.