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.

Text field with a date embedded in some records

Featured Replies

I retrieve email records into a database for a to do list.

The body of the email becomes the task.

I want to be able to send emails to the databse with a date in the subject. I used "***dd/mm/yyyy***" as a pattern in another database so that when this pattern appeared in the body it was extracted and placed in the due date field.

I am trying to work out how to do that. I use a script to import the emails into the tasks database and I would like to process the new revords by extracting any date and putting it in the due date.

 

Edited by Stickybeak

I am not sure I understand your description.

It seems you have a text field that contains a pattern such as ***08/03/2024*** and you want to extract the date? Can there be more than one occurrence of such pattern in the same field? If not, you could try:

Let ( [
start = Position ( text ; "***" ; 1 ; 1 ) ;
end = Position ( text ; "***" ; 1 ; 2 )
] ;
If ( start and end ;
Middle ( text ; start + 3 ; end - start - 3 )
)
)

 

Edited by comment

  • Author

Excellent - yes there will only be one occurrence in the field.

Worked perfectly.

Thank you so much.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.