How to extract a substring from a CString?

  • Thread starter Thread starter Yan Yang
  • Start date Start date
Y

Yan Yang

Guest
I have a CString strFullString = _T("Long part\nShort part");

I would like to extract a substring after '\n', which is "Short part".

Could you please let me know how to extract the part of the string after '\n'?

Thanks in advance.

Continue reading...
 
Back
Top