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.