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