TypeBox compare text.............trim(aTypeBox.Text)&" "
so..let's say your:
TypeBox Text= is "WORD(blank space) "
..then
trim(TypeBox.Text) will be just "WORD"
.. and
trim(TypeBox.Text)&" " wil be "WORD"& "(blank space) "
...now you know you have blank space affter "WORD" <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">
EDIT:
anyway......... WadaKatsu forget it <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">
for counting words you need something like this...
capx:
http://s000.tinyupload.com/index.php?fi ... 0273882192
I still have to learn about AJAX and Arrays...
..now you can add Regular Expressions to list... <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">
good starting point ... http://www.regexr.com/