lundi 24 mai 2021

How to get a particular part of string in c++?

I have the below string i need take out the id (68890) similar date (01/14/2005)

CString strsample = "This is demo to capture the details of date (01/14/2005) parent id (68890) read (0)"  

How can i achieve this in C++ is there any way to do in regex or any functions available.

Aucun commentaire:

Enregistrer un commentaire