Web Scrapers Generator BrowserExt

basename

Returns filename extracted from the path.

var = basename(path);
    

Parameters:

path A string or an array of strings.

Returned value: a string if a string is passed to the function, an array of strings if an array of strings is passed.

Example 1.