Micro SD find

Hello all, I am completely new to the SD card shield. I have 2 questions at this point that are purely conceptual at this point since I have not started coding yet.

  1. can I run code on the processor after it reads it from the sd card?

  2. If I have only 1 .txt file on the card, and it is composed of basically:
    123345=this is a test
    154646=this is a tester test of test
    154654=want this to work too
    .....

so that my code can look up "154654" and be returned with "want to work too" as a string.....

thanks,

  1. can I run code on the processor after it reads it from the sd card?

Only if you write your own bootloader. Code has to be in FLASH memory to run. Only the bootloader partition can write into FLASH memory.

  1. If I have only 1 .txt file on the card, and it is composed of basically:

Yes, you can read a file until you find a pattern, then read the rest of the line and store that in a String object or character buffer.