System.AnsiStrings.StrCharLength

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

Delphi

function StrCharLength(const Str: MarshaledAString): Integer;

C++

extern DELPHI_PACKAGE int __fastcall StrCharLength(const char * Str)/* overload */;

プロパティ

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


説明

文字 の長さを、バイトで返します。

StrCharLength は、Str の最初の文字のサイズを、バイトで返します。この値は、Windows では 1 または 2 となり、MacOS では 1 から 6 までの値になります。

関連項目