System.WideStrUtils.WStrLen

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function WStrLen(const Str: PWideChar): Cardinal;

C++

extern DELPHI_PACKAGE unsigned __fastcall WStrLen(const System::WideChar * Str);

Properties

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

Description

Returns number of characters in a PWideChar excluding the null terminator.

WStrLen returns the number of characters in Str, not counting the null terminator.

See Also