[Input Counter]

Hello Community!

I kindly ask for your help once more, this time with the following. I wish to implement a function, that, while typing in a sentence, shows a live-count, telling the user how many characters are still available to him or her. My general idea would be to extract characters from the input stream, counting them while typing, and displaying the char count, until '\n' is reached.

My question is, how can this be achieved? (If at all?)
Topic archived. No new replies allowed.