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

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