I am working on an application in C# that is running on a Windows Mobile devise. The devise captures bar code data, that I need to be able to work with as individual elements. It seems each element is seperated by carriage returns, but I can't seem to be able to seperate the acquired text into seperate elements.
I tried writing the recieved data to a text file, and it looks like this:
Matthew David Davignon Davignon
MRCP, MBBS
University of Western Massachusetts
33 New Montgomery St., Ste 142
Rheumatology Dept., 14th Floor
Research Triangle Pk, 94105
United Arab Emirates
01-234-567-8901
10-987-654-3210
EXHIB
Does anyone have any ideas for seperating the values? For example, I need "Mathew David" to be seperated from the rest of text so that it can be entered into a database as the name field... and "Davignon Davignon" to be seperated to be inserted into the company name field in the table, etc.
Anyones help is greatly appreciated!
Thanks in advance!
I tried writing the recieved data to a text file, and it looks like this:
Matthew David Davignon Davignon
MRCP, MBBS
University of Western Massachusetts
33 New Montgomery St., Ste 142
Rheumatology Dept., 14th Floor
Research Triangle Pk, 94105
United Arab Emirates
01-234-567-8901
10-987-654-3210
EXHIB
Does anyone have any ideas for seperating the values? For example, I need "Mathew David" to be seperated from the rest of text so that it can be entered into a database as the name field... and "Davignon Davignon" to be seperated to be inserted into the company name field in the table, etc.
Anyones help is greatly appreciated!
Thanks in advance!