Trim extra spaces, fix line breaks and tidy up pasted text.
Count words, characters and sentences.
Count characters with and without spaces.
Convert text to upper, lower, title case.
Remove duplicate lines from text.