[Gambas-user] Wordcount in a TextEdit
richard terry
rterry at ...1822...
Fri Apr 18 00:54:47 CEST 2008
On Fri, 18 Apr 2008 09:31:11 am MaxVK wrote:
> Hi, I'm trying to get a wordcount function in a textedit control, but I'm
> having some real problems.
>
> I'm trying to count the spaces and full stops etc, but my wordcounts are
> inaccurate to say the least.
>
> Has anyone implemented such a function, or have any tips that could help me
> along?
>
> Cheers
>
> Max
Max, did you try just reading it out as plain text, doing something like
stripping out all ascii 32's and then counting - this would fail if things
like word , but overall should be ok.
Regards
Richard
More information about the User
mailing list