Function getFilenameFromPath

  • Get the filename from a path, similar to PHP's basename()

    Parameters

    • url: string

    Returns string