sorry if i caused a confused a confusion, I am just looking for the string “Firstname” and “lastname” in that statement as my outputs , as that would vary for each case . Just as a sample i replaced the real names with “Firstname” and “lastname” which follows the string P+3 numbers+3chars(P123abc) from the sample.
we would recommend to cross check your scenario on other names which can be expected:
A simple name like Rob Robot is easy to split on space into firstname Last. But as long we have to expect any names we cannot handle like this. Examples
Double Names:
Ann Mary Johnson - Johnson Last name
Charlotte van Felde, Gregory van den Haag - van Felde, van den Haag Last names
and so on.
Is it reliable to expect only simple firstname lastname pairs?