Question: 5. Write the Visual Basic statements to accomplish the following tasks: a. In the lblSize control, display the number of characters contained in the strMsg
5. Write the Visual Basic statements to accomplish the following tasks:
a. In the lblSize control, display the number of characters contained in the strMsg variable.
b. Remove the leading and trailing spaces from the strState variable.
c. Use the Insert and Remove methods to change the contents of the strWord variable from “cater” to “critter”.
d. Use the Insert method to change the contents of the strWord variable from “day” to
“Monday”.
e. Change the contents of the strPay variable from “765.44” to “****765.44”.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
