System.AnsiStrings.StrCharLength

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function StrCharLength(const Str: MarshaledAString): Integer;

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Renvoie la longueur, exprimée en octets, d'un caractère.

StrCharLength renvoie la taille, en octets, du premier caractère de Str. Cette valeur peut être 1 ou 2 sous Windows et 1 à 6 sous MacOS.

Voir aussi