[amp_mcq option1=”TRUE” option2=”nan” option3=”nan” option4=”nan” correct=”option1″]
The correct answer is: FALSE.
The Len function in VB returns the number of characters in a string, including spaces. It does not include the length of empty strings.
For example, the following code will return 10:
Dim str As String = "This is a test"
Len(str)
However, the following code will return 0:
Dim str As String = ""
Len(str)