I want the extract the two values(113.654321 and 114.654321) from the CString
CString sValue = "113.123456 114.654321";
I tried to use the TrimLeft function of the CString Class, which is
sNewValue1=svalue.TrimLeft(_T(" ")) and
sNewValue2=sValue.TrimRight(_T(" "))
but I cannot get the expected value. Can anyone help?
Thanks in advance!
Last edited by LemonLemon; Jan 28th, 2010 at 10:24 am.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.