System.AnsiStrings.StrLen

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function StrLen(const Str: PAnsiChar): Cardinal;

C++

extern DELPHI_PACKAGE unsigned __fastcall StrLen(const char * Str)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

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 Examples