Newbies dkelley Posted August 3, 2008 Newbies Posted August 3, 2008 I am trying to parse out values from a field called entire_name formatted as (last,first middle suffix). For starters, I want to extract the last_name data but I cannot use the left words function because the last name may have one or two names, ie Smith Jones. What I would like to do is extract everything to the left of the comma for the last_name field, then the first word to the right of the comma for the first_name field. The second word after the comma would be the middle_name unless it is Jr., Sr, II, III, IV, etc, in which case it would be the suffix.
comment Posted August 3, 2008 Posted August 3, 2008 Try: GetValue ( Substitute ( entire_name ; "," ; ¶ ) ; 1 ) to get the last name, and so on. See also: http://www.fmforums.com/forum/showtopic.php?tid/185377/
Lee Smith Posted August 3, 2008 Posted August 3, 2008 This subject comes up from time to time. Here are three threads that might help you. Extracting name Calculation Help Break Full Name into three parts HTH Lee
Recommended Posts
This topic is 5957 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now