Sub Len($s As String) As Integer


Returns an integer that contains the number of characters in the specified string.


Parameters


  • $s ... String expression to evaluate.


Example:

Dim $i

$i = Len("a text")
' returns $i = 6