[Gambas-user] Keyboard function skipped?

Eilert eilert-sprachen at ...221...
Wed Jun 9 12:44:28 CEST 2004


Hi Benoit,

I'm still trying to find out how long a string in TextArea1 is :-)

What I need is the actual number of characters typed, not the number of 
what-so-ever stored.

I found out that when I use ä, ö, ü and things like that, Gambas will 
always store 2 bytes. It doesn't even matter if I put them from the 
TextArea1 into a simple string variable (t$ = TextArea1.Text).

len(TextArea1.Text) and len(t$) are always too long if characters other 
than simple ASCII were used.

Any solution for that?

Regards
Rolf





More information about the User mailing list