i have the following query. I have a txt file with data like this:
1 observational study 1.1 cohort study 1.1.1 retrospective cohort study 1.1.2 prospective cohort study 1.2 cross-sectional study
And another file with data like this:
cross-sectional survey 12345.txt retrospective study 2345.txt ...
I want to do an appropriate string matching. To be more specific i want to read each line of the second file and find the one that is similar (or looks kinda the same) from the first file. So for the first line of the second file the "cross-sectional survey" will be assigned to "1.2 cross-sectional study".
Is there any way of doing this? :-/