Reading some part of code from sd card. As excel or text.

Hi Everybody

Firstly thanks for your interest.

I wanna write command codes for arduino mega for my project and i want to take some part of codes or texts from sd card.

For example , we control arduino by android mobile . like home automation.

firstly the code read sd card, check the excel file's and count lines,

according to colloms and lines's number code create new cods and add text which takes part in collom and lines . until lines and.

basicly reapeat the this contion acording to line's numbers and change the "text" part acording to colloms.

if ( Serial.read() = "text"){

}

İ hope i could explaind it.

Best Reagards.