Name
strlen function — Computes length of a string
Synopsis
size_t strlen(const char* s)
The strlen
function returns
the length of the null-terminated string s
, that is, the number of bytes that come
before the null byte at the end of the string.
See Also
wcslen
in <cwchar>
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.