To show abbreviated name instead of user full name in forum messages for anonymity reasons
:memo: Details
You'll notice that in the last test it returns John George D. instead of John George D. F. . This was intentional to reveal as fewer information possible. It could be easily fixed if you prefer the second case, re-using code from name_initials method.
:dart: Goal
To show abbreviated name instead of user full name in forum messages for anonymity reasons
:memo: Details
You'll notice that in the last test it returns John George D. instead of John George D. F. . This was intentional to reveal as fewer information possible. It could be easily fixed if you prefer the second case, re-using code from
name_initials
method.:back: Backwards compatibility
100%