Strip the Null Terminator from a String
Category:
String ManipulationType:
SnippetsDifficulty:
BeginningAuthor:
Intelligent Solutions Inc.Version Compatibility:
More information:
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.
Declarations: