Question: The txtState control contains the word Alaska followed by one space. Which of the following statements removes the space from the controls contents? a. txtState.Text
The txtState control contains the word Alaska followed by one space. Which of the following statements removes the space from the control’s contents?
a. txtState.Text = txtState.Text.Trim
b. txtState.Text = Trim(txtState.Text)
c. txtState.Text = txtState.Trim
d. txtState.Text.Trim
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
a txtS... View full answer
Get step-by-step solutions from verified subject matter experts
