Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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 11.2
    • Fixed Files.FileName and Files.FileNameWithoutExtension to work on macOS in case you pass Windows path.
  • Version 11.1

Blog Entries

Created 5th February 2021, last changed 5th February 2021


Files.FileName - Files.FileSize

Feedback: Report problem or ask question.




Links
MBS FileMaker blog

Start Chat