Thanks Homer, Its good but is there any way without the regular expression as I have to search from a file and there are a lot of same keywords like alpha2. with this regular expression It will be difficult to find specific instance and its immediate before characters. Actually I have to track the keywords which are not coming in comments section. Not coming in /* */ and not started with //. comment may be of many lines. Can you please suggest the solution. Thanks in advance. Rohit
R
rohit kakria
@rohit kakria
Posts
-
How can I get the index of immediate before special characters of a word in c# -
How can I get the index of immediate before special characters of a word in c#My question is: I want to know the index of /* and */ coming immediate before alpha2 Example: hello world /* this is */ right way to get the index of /* track to */ alpha2 dummy text alpha dummy /* test */textalpha dummy text Thanks in advance
-
Serial NoThank you...
-
paging in datalistHi viney There are many ways to do this. one of good is replied by "Apurva Kaushal". There is another way with help of database. (sql server 2000) make a procedure and you will have to make some parameters which can count the total no. of records. in datalist/repeater. and also you have to define the parameter which can help you divide the records(for how many records you want to display). i will send you code ASAP. Thanks and regards: Rohit K rohit