Which of the following shows the correct way to remove leading and trailing spaces from a text box named txtStudentID and assign the result to strStudentID?
a. ```Dim strStudentID as String
strStudentID = txtStudentID
```
b. ```Dim strStudentID as String
strStudentID = txtStudentID.Text
```
c. ```Dim strStudentID as String
strStudentID = RemoveSpaces(txtStudentID.Text)
```
d. ```Dim strStudentID as String
strStudentID = txtStudentID.Text.Trim()
```
d. ```Dim strStudentID as String
strStudentID = txtStudentID.Text.Trim()
```
You might also like to view...
Functions that are not members of a class are called ________ functions.
a. isolated b. global c. universal d. general
A(n) ____________________ consists of rows and columns that form cells, and is used to organize information in a document.
Fill in the blank(s) with the appropriate word(s).
The ____ tier is a tier within the three-tier structure into which programs are divided.
A. Presentation B. Records C. Business D. Persistence
An asymmetric encryption key that does have to be protected.
What will be an ideal response?