I have a tab-delimited txt file like this:
A   B   aaaKP
C   D   bbbZ
This is tab-delimited.
If
phrase = aaa
column = 3
then I would like only those rows whose 3rd column starts with aaa
The output will be
A   B   aaaKP
What I have tried is quite tedious, and I only tried MatLab.
I could try it only by using very slow if and for statements and findstr.
I could find no way better using MatLab.
 
     
     
    