It's completely unclear what you are really trying to get at.i'm using gsm lib and i want to separate the content of smsbuffer. ex Hello World then i will disregard the Hello and i will only get the World and store in Another byte/char array. tnx
MatchState ms;
char * str = smsbuffer;
ms.Target (str);
unsigned int index = 0;
char buf [100];
while (true)
{
char result = ms.Match ("(%a+)" "(%-?%d+)", index);
if (result == REGEXP_MATCHED){
for (int j = 0; j < ms.level; j++);
gsm.WritePhoneNumber(result[j],(%-?%d+);
index = ms.MatchStart + ms.MatchLength;
}
else
break;
}
}
No. Not without a crystal ball, since you still won't tell use what it needs to do in order to be considered "correct".can you help how to correct this one.. tnx
A very good suggestion.Arduino forums is better place to ask these questions. They would be familiar with the libraries, functions and their use.
by Jake Hertz
by Duane Benson
by Duane Benson
by Jeff Child