SysUtils.StrLen
From RAD Studio VCL Reference
Contents |
Delphi Information
From SysUtils.pas
function StrLen(const Str: PAnsiChar): Cardinal; overload; function StrLen(const Str: PWideChar): Cardinal; overload;
Unit: SysUtils
Type: function
Visibility: public
C++ Information
From SysUtils.hpp
unsigned int __fastcall StrLen(const char * Str);
Unit: SysUtils
Type: function
Description
Returns the number of characters in a string, excluding the null terminator.
StrLen returns the number of characters in Str, not counting the null terminator.
See Also
Code Samples