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?

Respuesta :

ijeggs

Answer:

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.