How to correctly count the number of characters of a string
Counting characters may seems trivial. You can just use the string.Length property, can't you? Unfortunately, this is not that trivial.
If you remember my previous post about comparing strings, you know that strings can be very tricky 😃
Let's use the character 👨👩👧👦. The "Family: Man, Woman, Girl, Boy" emoji is a sequence of the 👨 Man, 👩 Woman, 👧 Girl and 👦 Boy emojis. These are combined using…