poringgunner
Active member
- Joined
- Feb 23, 2014
- Messages
- 42
- Programming Experience
- Beginner
how can i count a selected words in a richtextbox? example i want to count a word "if" and show the result foreach (char q in richTextBox1.Text) { if (char.IsWhiteSpace(q)) { newline++; } } foreach (char w in richTextBox2.Text) { if (char.IsWhiteSpace(w)) { newline++; } } thanks in advance.!
Last edited: