Jump 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.

Parse file address & export

Featured Replies

I am trying to find a way to parse out a part of a field that contains a ref files location on an HD and export the result.

Example:

I have 10 container fields per entry that have QT refs.

I have a field for each container field that, by a calc, shows me the location of the container field file. e.g.

moviemac:/OLD/WORK/lowden/film.mov

I am looking for way to parse out the last folder & file info ...

/lowden/film.mov

for each container in each entry & copy the info into 10 new fields that I will call Parsed_address & through 10.

I presume that on the proviso that the parsing works, I can then export the resulting "/folder/file" address as a tabs list?

Can anyone help please?

Edited by Guest

Here is a hint. Look into PatternCount () to count the number of slashes, then go 2 directories back. Combine this with Middle () or Right ().

As for ten different fields, seems to me that you have a structural issue. You really should have these in a related table.

I believe there is a simpler way:


Let ( 

len = Length ( text ) 

;

Right ( text ; len - Position ( text ; "/" ; len ; -2 ) )

)

copy the info into 10 new fields that I will call Parsed_address & through 10

What John said: not a good idea.

  • Author

I believe there is a simpler way:


Let ( 

len = Length ( text ) 

;

Right ( text ; len - Position ( text ; "/" ; len ; -2 ) )

)

What John said: not a good idea.

Thank you for the replies. Mr Vodka, I have had a look at PatternCount but I am have not got very far for the moment.

Thank you very much. It works great. It is much simpler than anything else.

Edited by Guest

I presume that I have to tell the calc where to look, but is that where in the calc ?

Replace the words text with your field. :wink2:

  • Author

Sorry. I worked it out like an adult. All works great.

Create an account or sign in to comment

Important Information

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

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.