How to separate last name and first name from first name in new columns?
I have "John and Anna Smith" in one column, I need to divide it into "John and Anna" and "Smith" in two columns. How to do it?
When we go left, there is no separator. As we walk to the right, the separator is space. The last substring is always the name Last Name. The rest are the first names.
Example:
“John Smith” → “John” in column 1 and “Smith” in column2
“John and Anna Smith” ---> “John and Anna” in column 1 and “Smith” in column2
source
share