Hi,
is it possible to convert string like
s = "b;1;5;255;255;0;516;e"
to array of strings? Like it is possible in C# with
string [] sarray = s.split";");
to convert into array
sarray = {"b","1","5","255","255","0","516","e"};
Thanks.
Hi,
is it possible to convert string like
s = "b;1;5;255;255;0;516;e"
to array of strings? Like it is possible in C# with
string [] sarray = s.split";");
to convert into array
sarray = {"b","1","5","255","255","0","516","e"};
Thanks.
Look at strtok();
In your example how is s declared ?
Here is an exemple of strtok: C++ code - 29 lines - codepad