str_normal function

Normalize a character string