Method baseName documentation

Returns the name of the element indicated by path given to it as an argument.

Example

```javascript // "file.png" bbn.fn.baseName('folder/other_folder/file.png'); ```

Example

```javascript // "file" bbn.fn.baseName('folder/other_folder/file.png', '.png'); ```

Returns the name of the element indicated by path given to it as an argument. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.