Len

Public Function Len(ByVal InputString As String) As Long

Returns the length of the string in characters.

SendDebug Len("Hello world") 'Prints 11