Boris Kolpackov wrote:
Hi David,

David Bertoni <[EMAIL PROTECTED]> writes:

But finding the lengths of the individual nodes will mean checking every
unit in each string, which could be very expensive.

Not necessarily. The length is cached by the DOMCharacterData (base
of DOMText) and can be accessed by calling getLength().
I didn't realize that.  Thanks for the correction!

Dave

Reply via email to