For my application, the number 1200 from data string keep changing. I would like to copy the number out from data to another CString data2 so that i can prinf the number from data2 instead of the whole string of data.
data.Format(_T("!64.8 Px.1= 1200")); // 1200 keep changing
//Copy the number 1200 from data to data2
printf("%s", data2); //prinf the number instead of whole string
Is there a way to just copy the number from CString data to CString data2?