Question: 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.

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

3.40 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a lblSizeText strMsgLengthToString b strState ... View full answer

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

Students Have Also Explored These Related Programming with Microsoft Visual Basic 2015 Questions!