can anyone can give me idea ,. how to count a word ..
i have to use two listbox in the one listbox will have the word length in other listbox2 will determine the occurence ... please just game idea how to do it ..
i cant give the code because i am doin it more better now ..
count wwor
Page 1 of 14 Replies - 769 Views - Last Post: 18 March 2013 - 04:25 AM
Replies To: count wwor
#3
Re: count wwor
Posted 18 March 2013 - 03:36 AM
i know its length ,,, i am doing how to count a repeated word can u give me idea . .
#4
Re: count wwor
Posted 18 March 2013 - 04:13 AM
jayveeeeeee, on 18 March 2013 - 03:36 AM, said:
i know its length ,,, i am doing how to count a repeated word can u give me idea . .
You need to describe your question more clearly if you want assistance.
If you have a string then you can use Split() to split it into a string array (of words) and loop through this array comparing, and counting, the word you are looking for. Or you can use IndexOf() repeatedly to find the occurrences of the word in the string.
#5
Re: count wwor
Posted 18 March 2013 - 04:25 AM
Or there is the regex approach as someone provided for you in your other post:
http://www.dreaminco...9&#entry1821649
http://www.dreaminco...9&#entry1821649
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|