how to get substring of a CString
-
I have a CString CString str= 104032; how can i get substrings like 4032 or 32 or 04032 in vc++ thanks & regards
-
I have a CString CString str= 104032; how can i get substrings like 4032 or 32 or 04032 in vc++ thanks & regards
l_d wrote:
how can i get substrings like 4032 or 32 or 04032 in vc++
By reading here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
I have a CString CString str= 104032; how can i get substrings like 4032 or 32 or 04032 in vc++ thanks & regards
You can use Find().It will return the postion of the first character then use Mid()to extract that
Thanks & Regards VIJITH VIJAYAN