Question: 1. The txtState control contains the word Alaska followed by one space. Which of the following statements removes the space from the controls contents? a.
1. 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
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
