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.

Featured Replies

I have a field which contains the data imported and which I wish to breakdown. One of the elements I wish to extract is a four digit no for the year, and then post this to another field.

e.g.

Charmes Chambertin, Tres Vieilles Vignes 1999 (12)

I need '1999' to post to another field.

The no. of words before the year changes - can be 1, 2, 3, 4 or as here 5. There is always a number after this in brackets, as here e.g. '(12)'. Perhaps that helps? Any help much appreciated> Thank you.

Can there be any digits and/or brackets in the text before the year?

  • Author

Thanks. There can be the odd thing like '1er' (my apostrophes) but so seldom it's not worth doing anything with this and can change manually as the year is inserted into a field which compares to a value list. Also, sometimes a '5' or '6' on its own but again v. rare. Otherwise no brackets or digits.

Try:

RightWords ( GetValue ( Substitute ( text ; "(" ; ¶ ) ; 1 ) ; 1 )

( there must be no carriage ruturn into the original text )

Or [color:blue]Leftwords ( RightWords ( text ; 2 ) ; 1 )

... but is it clear that there is no text after what has been given for an example? :wink2:

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.