f::filename($name)

Extracts the filename from a file path

  • $file (string)
    The path
  • return (string)