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.

Split Words into seprate fields

Featured Replies

I have a field with an employees full name (Christian Name and Surname).

I know i can use a

LEFT(Full Name Field;1)

to get the first letter of a word.

But is there a way to split an entire word into another field.

I want to have a value list attached to a field, this will list the full names of employee's.

I also want to have 2 separate fields, lets say Field1=Christian Name, and Field2=Surname.

Is there a way when a full name is selected from the value list, that the Christian name is placed into Field1 and the Surname is placed into Field2 without manually typing them in?

How about:

LeftWords ( FullName ; 1 )

  • Author

Thank You.

Just as i clicked post, i found the LeftWords, and RightWords.

Cheers.

Corey....

Good. Watch out for stuff like "Jean-Paul Sartre", "Elizabeth Brown Smith" etc.

Is there a way when a full name is selected from the value list, that the Christian name is placed into Field1 and the Surname is placed into Field2 without manually typing them in?

It would work well to split the data first (using the xWords method). Value lists should select the CustomerID in the first field (you DO have a unique serial for your table, right?) and then the second field would be a calculation where you have concatenated the two fields together as FirstName & " " & LastName.

  • 11 months later...

Is there a way to sepperate all the words so if i wanted to have a calc, say, take the first letter of every word and put it at the end of the word so "Help!" would become "elp!H"?

Thanks!

FMPierce

:ninja:

take the first letter of every word and put it at the end of the word

Actually, Filemaker counts "Help" (with no punctuation) as a word, so the result would be "elpH!". In any case, it would require a custom function - and not a very simple one.

Oh. I am making a DB to do exactly that (Without punctuation), though it can only handle 100 words at a time, it has 4 fields, 3 are repeating fields with 100 repetitions each.

Field #1 = Text, entry

Field #2 = Number, numbers 0 through 100

Field #3 = Calculation, LeftWords ( Extend ( Field #1 ) ; WordCount ( Extend ( Field #1 ) ) - Field #2 )

Field #4 = Calculation, RightWords ( Field #3 ; 1 )

So Field #4 is equal to word Field #2 of Field #1.

So if Field #2 = 0 and Field #1 = "FileMaker 11 Advanced", Field #4 Would equal "Advanced"

BTW. How do you insert a Photo?

Oh. I am making a DB to do exactly that

???

:sorrysign: I just said something COMPLETLY un-related to your post, yet I referred to your post. rrrrrrgggg! :bang:

OK, I am making a DB that can take the letters of each word scramble them in a controlled way to "encode", so to do that I needed to split all the words into separate fields.

I just said something COMPLETLY un-related to your post

I thought it was unrelated to your post - or any post in this thread.

rrrrgggg again! :bang:

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.