Online preg_split( ) function


array preg_split ( string $pattern , string $subject )
Given a string containing the path to a file or directory, this function will return the trailing name component.