The txtState control contains the word Alaska followed by one space. Which of the following statements removes

Question:

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

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: