returns r=0
Dear all i try use the above function but it not giving me the expected result it is always returning zero.
What is the wrong i am doing here?
Anothre example:
ascii src[100]={“what is your name”};
r=wm_strSwitch(src,“your”,NULL);
If wm_strSwitch does not work as you expect, You had better write a small of piece code to implement similar wm_strSwitch by yourself. c string library and wavecom string utility are very limited and do not expect Wavecom to provide everything for OAT app developers. You may have a look at source code (Match function) at codeguru.com/cpp/cpp/string/ … .php/c2807 to see whether it is good for you. Although it was written in C++, I can rewrite it in C for you if it is useful for you.