Hi everyone,
I am trying to separate and organise an txt file that I imported in Mathematica. I'd like to you the the function FirstPosition[list, keyword], this works until I want to use this function for the second/third/fourth etc time. Then mathematica just search for the first keyword and ignore the the following ones.
I tried to use: FirstPositioning[list, key word1];FirstPositioning[list, key word2];FirstPositioning[list, key word3] etc... If I try this code without the used of the semicolon than mathematica gives me the correct position of keyword 1 but not for keyword 2/3/4.
Short, what I want Mathematica to do is First search for keyword1, if found THAN look for keyword2 (from the position of keyword1) and so on.
Is there anyone who can help me with this problem, Thanks!