Programmer's Guide > Interfaces > W3C CharacterData interface > length attribute
  
length attribute
The number of 16-bit units that are available through data and the substringData method below. This may have the value zero, i.e., CharacterData nodes may be empty.
length
Access
read-only
Returns
unsigned long