CODE:string slovo="points:x=70,y=189;x=81,y=175;x=267,y=240;x=175,y=226;x=196,y=228;x=84,y=206;x=180,y=207;x=332,y=358;";
int X[20], Y[20];
string temp[20];
int i;
int countX=regexsearch(sizearray(X), #temp[0], slovo, "(?<=x=)\d+");
for(i=0; i<countX; i++)X[i] = formatsn(temp[i]);
int countY=regexsearch(sizearray(Y), #temp[0], slovo, "(?<=y=)\d+");
for(i=0; i<countY; i++)Y[i] = formatsn(temp[i]);
messagebox(format(X[0])+"^t"+format(Y[0]));
messagebox(format(X[1])+"^t"+format(Y[1]));
messagebox(format(X[2])+"^t"+format(Y[2])); |