The number of characters in the string. More specifically, a character is defined as a Unicode scalar value, which is similar to, but not the same as, a Unicode code point.