Method fileExt documentation

Gets the extension from a file's name.

Example

```javascript // "txt" bbn.fn.fileExt('my_file.txt') ```

Example

```javascript // "txt" bbn.fn.fileExt('MY_FILE.TXT') ```

Example

```javascript // "" bbn.fn.fileExt('MY_FILE') ```

Example

```javascript // "" bbn.fn.fileExt('.MY_FILE') ```

Gets the extension from a file's name. - The extension is returned in lower case; if the filename has no extension or is not valid it will return an empty string. 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.