Normalize a string by removing spaces, accents, and special characters.
utils_normalize_string.Rd
This function takes an input string and normalizes it by removing spaces, accents, diacritics, and special characters. It then converts the string to lowercase.
Examples
original_string <- "Thïs is à sâmplè strîng with spèciál chàracters!"
normalized_string <- utils_normalize_string(original_string)
cat(normalized_string) # "thisisasamplestringwithspecialcharacters"
#> thisisasamplestringwithspecialcharacters