Mount Fuji Engine  0.8b
size_t MFString_LengthN ( const char *  pString,
size_t  maxChars 
)

Count the number of bytes in a string, clamping to a given maximum.

Parameters
pStringString to find the length of.
maxCharsMaximum number of chars to count.
Returns
The length of the string, in bytes, excluding the terminating NULL character.
See Also
MFString_Length()