f::name($name)

Extracts the name from a file path or filename without extension

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