strlen

Example: strlenString Manipulation Functions

Returns the length (in bytes) of a string.

size_t strlen( const char *string);

string The string whose length is returned.

Return Values

strlen returns the length (in bytes) of a string.