RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.StrLen Function

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

Pascal
function StrLen(const Str: PChar): Cardinal;
C++
unsigned StrLen(const const char * Str);

SysUtils

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!