System.AnsiStrings.StrCharLength
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 までの値になります。