If you are still trying to figure this out, here is how I would approach it.
1. Create a variable, {name array}, that has split({name};{space}), make sure you select the "space" keyword from the string tab
2. Create a variable for the first name, get({name array};1)
3. Create a variable for the last name, get(reverse({name});1)