What is the syntax to find the length of a string?

Len(<string variable>)
'examples
Dim sentence As String
sentence = "This is a sentence."
MsgBox (Len(sentence)) 'returns 19
Advertisements