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.

Merging contents of 2 text fields with no repeats

Featured Replies

I've got two regular text fields that I want to merge the contents of the two into another (third) text field, without any of the words repeating.

Field 1 - languages @ office 1

Field 2 - languages @ office 2

Field 3 - languages @ office 1&2

The two fields are more than likely going to contain different information in each. The languages are separated by a comma Ex - English, French, Russian, Jive, Polish, etc..

Both fields might contain the same language (or word) in each one. This is where I'm stumped. The words might be in different order, which make comparison difficult.

I'm attempting to perform a word count (X) on Field 1, loop X times based on that count, and in each loop compare word #x to Field 2. If Field 2 has that word, then skip it. Loop until last word. It hasn't given the results I expected. confused.gif

Any ideas or suggestions on how to calculate/script this?

Thanks!

-Brent

May be some other stupid idea...

Set a text field called List.

Create a value list "ListSorted" using a SelfJoin on the unique Record_ID and targetting the 'List' field.

Then, run a script

SetField [List, Middle(Substitute(Field1,","),1,Position(Substitute(Field1,","),"@",1,1)-1) & "

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.