Ask Question
22 January, 01:13

The strFirstName and strLastName variables contain the strings "Jane" and "Jones," respectively. Which of the following statements will display a string as "Jones, Jane" (the last name, a comma, a space, and the first name) in the lblFullName control?

+1
Answers (1)
  1. 22 January, 02:39
    0
    lblFullName = strLastName & ", " & strFirstName

    Explanation:

    The task involved here is to combine the two sting variables separated with a comma. in visual basic string concatenation can be be done with & operator the + (addition) operator may also be used as well, but this is not recommended. Observe that the lblFullName control was assigned three strings (strLastName, ", " and strFirstNam) The comma in the quotation marks is also treated as a string.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “The strFirstName and strLastName variables contain the strings "Jane" and "Jones," respectively. Which of the following statements will ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers