Sanitize string input.
f(string $value, $accent = true, string $preserve = "");
This function does the following tasks:
- Remove HTML tags and character references.
- Remove anything except the characters that listed in
- Convert multiple white-space to a single space.
- Replace accents to their voice if
This function does not do the following tasks:
- Trim white-spaces at the start and end of the string.