divide and search for specific words
i have a text i want to divide it into equal 4 part and search for specific words that repeat in those part and display them
any ideas am working with c# vs 2开发者_StackOverflow中文版008 and .txt files
well, 4 equal parts can be done by taking string.length /4 and then taking substrings. you could then do a .find within each string.
alternately, you could take a look a regular expressions.
精彩评论