Some time ago in one of my previous projects, we had to generate customer salutations in emails and SMS texts in various ways, like these example show: "Dear Mr. John Miller", "Dear Mrs. Dr. Miller", "Miller, John" The task was nasty, because sometimes the user object had a firstname or a title, but some of…
Read more