PHP » PYTHON |
login |
register |
about
|
import os os.path.basename(path) basename(PHP 4, PHP 5) basename — Returns filename component of path Description
string basename
( string $path
[, string $suffix
] )
Given a string containing a path to a file, this function will return the base name of the file. Parameters
Return ValuesReturns the base name of the given path . Changelog
Examples
Example #1 basename() example
<?php
See Also
|
more
Recently updated
more
Most requested
|