Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wrong Position!

Featured Replies

Hi All,

I wonder if anyone can help me.

I've tried to create a function that extracts a filename off the end of a filepath on a mac of the format:

"RAID:Thisfolder:anotherfolder:Thefilename.pdf"

I thought this should be relatively easy - using a RIGHT function, and using Position to find the last ":".

But Position returns the wrong position count, and I can't see why.

Any ideas?

Richard.

Position returns the wrong position count

Such as?

Let([ p = "RAID:Thisfolder:anotherfolder:Thefilename.pdf";

plines = substitute( p; ":"; "¶");

pn = valuecount ( plines)];

getValue( plines; pn)

)

  • Author

That works - thanks!

It's similar to a custom function I was trying to use - but didn't work.

And in response to the other chap who said "such as" - I started to compose a response showing how it _didn't_ work, and then realised that my test database was working as expected. That led to more confusion for me - so sorry that I didn't get back to you directly straight away!

Thanks all.

Richard.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.