Substring
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, This will sound very basic and silly!!! but can someone help me out with finding out how to go about doing a substr() in C++; Thanks, Brgds, John:((
-
Hi, This will sound very basic and silly!!! but can someone help me out with finding out how to go about doing a substr() in C++; Thanks, Brgds, John:((
doing a substr() in C++; You use CString.Mid() (this requires MFC), or you use std::string.substr() (this is standardized and portable), or us use strstr(), the plain old C-Library function. Its up to you.