Using getname statement issue

I want to break up a person’s name. My worst case name is: “Howard La Fortune Sr.”
code is: local PREFIX, FIRST, MIDDLE, LAST, SUFFIX
getname “Howard La Fortune Sr.”, PREFIX, FIRST, MIDDLE, LAST, SUFFIX

message (
"PREFIX = " + PREFIX + CR() +
"FIRST = " + FIRST + CR() +
"MIDDLE = " + MIDDLE + CR() +
"LAST = " + LAST + CR() +
"SUFFIX = " + SUFFIX + CR())

reuslt is:

“La” is not his middle name. The problem is that his last name is “La Fortune”

Any ideas would be appreciated.

The Space character chr(32) is used to discern all those name parts. To prevent that, you should use the non-breaking space character chr(160) between “la” and “Fortune”. In Mojave, you type that character with opt-shift-space.

Just wait till you meet Wild Bill Hernandez III, or Mary Ellen Johnson La Fortune.