RE: How to split First Name and Last Name in saved search
I have a custom name field on a custom record that contains the person first and last name. I am wanting to split this into two separate columns (or more importantly just extract the first name) – any ideas on what formula I could use to do this?
Hi @mohankaladi,
What about a similar situation where it contains more than just First and Last name? For eg:
SUBSTR(‘First-Second-Third-Forth’, INSTR(‘First-Second-Third-Forth’, ‘-‘) +1)
Segment#1 = “First”
Segment#2 = “Second-Third-Forth”
Using the formula given by you, I only manage to get 2 segments, now I need to split them into 4 different segment/fields like below:
Segment#1 = “First”
Segment#2 = “Second”
Segment#3 = “Third”
Segment#4 = “Forth”