System.SysUtils.StrLen

提供:RAD Studio API Documentation
移動: 案内, 検索

Delphi

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 */;

プロパティ

種類 可視性 ソース ユニット
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

説明

文字列内のヌルターミネータを除いた文字数を返します。

StrLen 関数は,Str 内のヌルターミネータを除いた文字数を返します。

関連項目

他の言語