0

hi..

im building an app wher i want to retrieve data from PDF which will be questions of some sort...like as follows..

A. Group A
A.1 Whats your name?
A.1.1 Whats your Middle name?
A.1.2 Whats your sur name?

The questions could also be like as follows..
A.1.1.2.3 question 1?


my problem is i want to split the questions & sort them according to the groups...
ther could be multiple groups..Like A,B,C & so on..

Can any1 please tell me how to do that?? im using C# & ASp.net..i have got code to read from PDF but not getting how to split it..

can any1 pl tell m??? its reli urgent..

Thanks in advance..

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by bhavu4u
0

first u have to take all the question in one string and then you have to take array of string and use split keyword in ur condition u can split by '?' character
for example

string[] optvalue = val.Split(new char[] { '?' });

here val is the string that contain all the question

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.