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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock