normalize

fun normalize(nameAttribute: String): String

The normalize function will trim the input string, replace any multiple spaces with a single space, and normalize the string according to NFKC normalization form.