Returns the length of a specified string (not including the trailing '\0')

Syntax

PRUint32 PL_strlen(const char *str);

Parameter

The function has these parameter:

str
Size in bytes of item to be allocated.

Returns

If successful, the function returns length of the specified string.