Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Split first and last names in Address Book via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Split first and last names in Address Book via AppleScript
Authored by: peterholdn on Aug 16, '07 11:47:29AM

No comment on the script as written - but you might want to add just a little more complexity to deal with people whose names are not just two words. I think of my friend Mary Ann, and I know some people with multiple words to their last name - I know a Van der Boer, for example.

I also know a few people who only go by one name. Not sure what the script would do when there is no second word in the last name field to react to.

Maybe add a chunk that request user input in the case of any name that has other than two words.

---
Relax, it's only ones and zeroes.



[ Reply to This | # ]