TAdvRichEditor chars and words count

Good morning to all,
is possible retrive the numbers of words and/or number of chars in one document?

Thank's for the attention

Regards

Daniele

There is at this moment not a built-in function for that.
You would need to loop through the document (AdvRichEditor.Context.Content) and count from there the nr. of characters / words.

Thank's for reply Bruno

Regards
Daniele

Hi Bruno,
excuse me to duplicate the question ...
The same is, aols, for TadvMemo?

In AdvMemo i count the chars number via line length.

Thank's again

Daniele

Sorry, there is at this moment not a word count or char count function in TAdvMemo.
You would also need to perform the calculation at application level using AdvMemo.Lines: TStringList