LibreOffice 6.1 Help
返回字符串中的字符数,或存储变量所需的字节数。
Len (Text As String)
Long
Text:任意字符串表达式或其他类型的变量。
5 无效的过程调用
Sub ExampleLen
Dim sText as String
sText = "Las Vegas"
MsgBox Len(sText) REM 返回 9
End Sub