strlen [C++ Reference]
Keywords: c,string,strlen
Date: 2009-05-21T02:20:49-0700

[[strlen]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## strlen

Syntax:

        #include <cstring>
        size_t strlen( char *str );

The strlen() function returns the length of str (determined by the number of characters before null termination). Str may not be null.

Related Topics: memcpy, strchr, strcmp, strncmp

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •