How to split in string I want to split this:  

char* value = "12;32;blue";
or
string value = "12;32;blue";


into this vars:

TV = 12;
AR = 32;
LED = "blue";


is it possible?
Scan function should do the job.

int tv, ar;
char color[10];
sscanf(value, "%d;%d;%s", &amp;tv, &amp;ar, color);