views:

58

answers:

1

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 2008 and .txt files

A: 

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.

yamspog
hey YAMSPOG,am new to c# and not that good with text processing any bit of code can help his is what i want" have a text file and want to divide it into 4 sections and display the words that appear in the 4 sections in a text boxusing C# VS 2008 "
ryder1211212