Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4656 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I’m trying to extract the filename from a file path. For example: Path = C:\Maintenance\System\Temperature Guide.docx.

It seems the position function does not operate on “backslashes”. When I try to find the first backslash from the right, I get the error message that the text constant does not end with a quotation mark.

Position(Path,“\”,-1,1)

Posted

Backslash is a character reserved by FileMaker to "escape" the next character. You wlll have to tell FileMaker to treat the backslash as a literal character by preceeding it with another:

Position(Path; ""; -1; 1)

http://help.filemake...n-filemaker-pro

This topic is 4656 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.