User`s guide
int Le ng th() const
Purpose Return number of characters in string
C++
Syntax
#include "mclcppclass. h"
mwString str("This is a string");
int len = str.Length(); // len should be 16.
Arguments None
Return
Value
The num ber of characters in the string.
Description Use this method to get the l ength of an mwSt ring. The value returned
does not include the terminating NULL character.
C-9