RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideStrUtils.WStrLen Function

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

Pascal
function WStrLen(const Str: PWideChar): Cardinal;
C++
unsigned WStrLen(const PWideChar Str);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!