In VB, The Len function returns an integer value which is the length of a phrase or a sentence, including the empty spaces.

TRUE
nan
nan
nan

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)

Exit mobile version