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
a lblSizeText strMsgLengthToString b strState ... View full answer
Get step-by-step solutions from verified subject matter experts
