remove trailing and extra spaces/non-printing characters from a string (vb.net)

The following Visual Basic project contains the source code and Visual Basic examples used for remove trailing and extra spaces/non-printing characters from a string (vb.net). Again (I think) the function that VB forgot to add.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize

SocialTags: