Strip the Null Terminator from a String
Author:Intelligent Solutions Inc.
For many API functions, you have to pass a space-padded string to the function and strip the null terminator from value returned. This is the purpose of this snippet.
Instructions: Copy the declarations and code below and paste directly into your VB project.