Set The Case of Any Given String

Category:
String Manipulation
Type:
Modules
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
For a good example of basic string manipulation, add these methods to your project. For a demo, add a textbox control, a label control, and three command buttons. Enter text into the text box control, and clicking the three command buttons will set your text to either all lower case, all initial caps, or all caps.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: