chrLen

Return the length of a string, ignoring trailing spaces

Description:

Find length of string, ignoring trailing spaces.

Invocation

size_t chrLen( const char string )

Returned Value

Returns the length of the string, not including the
terminating null or any trailing spaces.

Parameters :

string
Pointer to a null terminated string holding the string whose length is to be determined.