Hie guys i have this assignment where im supposed to extract headstone data from an inscription file (structured text file).From this file im supposed to extract the name of a deceased person, date of birth (or age) and also personal messages.The application should be able to analyse a raw text file and then extract information and display it in tabular form.The raw text files looks like this:
In loving memory of/JOHN SMITH/who died on 13.02.07/at age 40/we will miss you/In loving memory of/JANE AUSTIN/who died on 10.06.98/born on 19.12.80/hope you are well in heaven.
Basically "/" is a delimiter and the name of a deceased person is always in capital letters. I have tried to use String.Split()
and substring methods but i cant get it to work for me; I can only get raw data without the delimiter (Environment.Newline
) but i dont know how to extract specific information.