there is an additional hard problem in computer science: creating a monogrammer for avatar placeholders. how are you supposed to derive a few characters? first one or two characters in a string? what about first/last name? what about hyphenated last name? do you force capitalize it? what about names formatted in some other language that you haven't designed for?
some strings you might have to create a monogram for with no clear solution:
"Mhi'ya Iman Le'Paige"
"John Appleseed"
"Dr. Jonathan Maple Appleseed Esq."
"Père Jean-Philippe de Zélicourt"
"Dr. med. Max Mustermann junior, M.A."
"木田 泰夫"
"أحمد الراجحي"