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.

Split out Last Name, First Name

Featured Replies

I converted an Excel spreadsheet used as a contact database. The author lumped the entire contact's name into one field. My master DB has these split out First Name, Last Name as most people prefer. This has got to be an age old problem. Any scripts floating around?

Not too many good solutions. There are so many variations of names. The most basic script (which won't work 20% of the time due to compound names) is:

Set Field (FirstName), LeftWords (Name, 1))

Set Field (LastName), RightWords (Name, 1))

-bd

[ January 15, 2002: Message edited by: LiveOak ]

I suggest a slight modification:

Case(WordCount (Name) = 2,

Set Field (FirstName), LeftWords (Name, 1))

Set Field (LastName), RightWords (Name, 1)),

Set Field (FirstName), LeftWords (Name, 2))

Set Field (LastName), RightWords (Name, 1)))

That way, for three-word names, only the last name goes in the last name field. You can actually try several "Case" parameters, depending on what oddities you notice.

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.