lamed_io
Version:
14 lines (9 loc) • 355 B
Markdown
>**fileSetExtension**(file, ext)
- Add ext to the file name if non exist else replace the extension with the new one
- See [Functions](../functions.md)
| Parameter |Type |Default |Description |
| ---- | ---- | ---- | ---- |
**file** |string | |The filename |
**ext** |string |'' |The extension |