thanku for respose,....
it is a windows project..
i
hope u knw the lexical analyzer, am plan to do this, just like, load
the program into a richtextbox, then split program with space and
comma, and identify all the keywords, identifiers store in a file.
so
now i load the splitted program into a richtextbox, i think take each
line from the richtextbox and checking with an array, which contains
stored all the keywords, if find any keyword in that array, write that
into a file.
Lexical analyzer in c sharp
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

JureRank #2,128 · 670 reputationPosted Sep 28, 2010, 2:49 AM EDT
It can extract a custom set of substrings (string array) into a new array and also returns an int array of every word's index in the text.
Or, it can split by a custom set of string separators (keywords in your case) into a new array with separators included, so it basically moves whole text into the array, so you can easily examine your text.
Sam HobbsRank #107 · 20.5K reputationPosted Sep 28, 2010, 5:31 PM EDT