Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
rammarthi
Creator
Creator

First Name & Last Name

Hi,

I have a list of first names and last names. For some first names are extended to middle names in the same cell. Such middle names start with Capital Letter. And as an anomaly in data set a set of names like "Akhil esh" where the later half is actually the part of first half and not a separate middle name. How to identify such names and remove the space in between. Can any one help me on this.

Here is the data in quest.

First NameLast Name
Raghu NathKalya
Kal yanRam
Akhil eshYadav
Uma RamaLinga
Pras anthReddy

Here is the anticipated result:

First NameMiddle NameLast Name
RaghuNathKalya
KalyanRam
AkhileshYadav
UmaRamaLinga
PrasanthReddy
1 Reply
swuehl
MVP
MVP

Maybe like

LOAD

  if([First Name]=Capitalize([First Name]),Subfield([First Name],' ',1), replace([First Name],' ','')  ) as [First Name],

  if([First Name]=Capitalize([First Name]), Subfield([First Name],' ',2),'') as [Middle Name],

  [Last Name];

LOAD [First Name],

     [Last Name]

FROM

[https://community.qlik.com/thread/258441]

(html, codepage is 1252, embedded labels, table is @1);