Use a regular expression.
https://www.softwaretestinghelp.com/regex-in-cpp/
https://learn.microsoft.com/en-us/cpp/standard-library/regular-expressions-cpp?view=msvc-160
https://regexr.com/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How do i seprate alphabets and numbers in Visual C++ eg. Say i have T1200 and i need only 1200
Hi,
You may try the following string code to see if you could achieve your goal.
Best Regards,
Mulder Zhang
--------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.