Show: Object Pascal C++
Display Preferences

System.SysUtils.StrLen

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function StrLen(const Str: PAnsiChar): Cardinal;
function StrLen(const Str: PWideChar): Cardinal;

C++

extern DELPHI_PACKAGE unsigned __fastcall StrLen _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (const char * Str)/* overload */;

Properties

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

Description

Warning: Ansi version of StrLen is deprecated. Please use AnsiStrings unit.

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


Personal tools
Translations