ResizeString private method added - allows to make strings shorter
TrimAllInPlace method added - replaces two or more whitespaces with single whitespace