Solved

Which of the Following Shows the Correct Way to Remove

Question 39

Multiple Choice

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()

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents