Capitalize the First Letter of Each Word in a Sentence.
Version Compatibility: Visual Basic 6
Have you ever wanted to capitalize the first letter of each word in a given sentence? Well, the function below can help you. The function below loops through each character in a string and determines which is the first letter of which to apply uCase().
Instructions: Copy the declarations and code below and paste directly into your VB project.