Returns a masked Chinese name, which keeps the surname only
The surname is kept as 2 characters for the common compound surnames, otherwise 1 character.
For minority names separated by the middle dot, each segment is masked individually
Parameters
Optionaltext: string|null
The text to mask
Returns string|undefined
a masked Chinese name, or undefined if the given text is invalid
Returns a masked Chinese name, which keeps the surname only
The surname is kept as 2 characters for the common compound surnames, otherwise 1 character. For minority names separated by the middle dot, each segment is masked individually