lstrlen The lstrlen function returns the length in bytes (ANSI version) or characters (Unicode version) of the specified string (not including the terminating null character).
VB4-32,5,6
Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As String) As Long |
VB.NET
System.String.Length |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- lpString
Points to a null-terminated string. |
If the function succeeds, the return value specifies the length of the string in bytes (ANSI version) or characters (Unicode version). |
|