Reading String (with whitespaces) Using SScanf
Posted on 2002-07-17
Iam trying to read a string value from a CString object using sscanf.The CString was initially formatted using the
format function of CString.
But if the string has whitespaces in it, then I will not be able to get the
whole string with the whitespaces, if I use %s as a format specifier for that.
Even if I use %nc(n is no of characters), Iam not able to read the String
Any ideas to read the string (with the whitespaces) from the CString?