Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Files.FileNameWithoutExtension
Queries file name without extension.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 11.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Files.FileNameWithoutExtension"; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
Path | The path to a file. | "/Users/test/Desktop/some picture.png" |
Result
Returns text or error.
Description
Queries file name without extension.Like Files.FileName, but removes extension.
Examples
Try it on macOS:
MBS( "Files.FileNameWithoutExtension"; "/Users/test/Desktop/some picture.png" )
See also
Release notes
- Version 12.2
- Fixed an edge case for Files.FileNameWithoutExtension, where the path contains no slashes.
- Version 11.2
- Fixed Files.FileName and Files.FileNameWithoutExtension to work on macOS in case you pass Windows path.
- Version 11.1
- Added Files.FileNameWithoutExtension function.
Blog Entries
- MBS Plugin Advent calendar: 12 - Files
- MBS FileMaker Plugin, version 12.2pr4
- MBS FileMaker Plugin, version 11.2pr3
- MBS FileMaker Plugin 11.1
- MBS FileMaker Plugin, version 11.1pr2
This function checks for a license.
Created 5th February 2021, last changed 5th February 2021