_tcschr(str , c);
Find a character in a string, using the current locale or a specified LC_CTYPE conversion state category.
从一个字符串中查找字符。
例如:
CString str1 = "ABCD#EFGH";
CString str2 = _tcschr(str1,TEXT('#'));
str2 结果为"#EFGH".
str :Null-terminated source string.
c :Character to be located.
Returns a pointer to the first occurrence of c in str, or NULL if c is not found.
返回str中的第一个字符c的位置开始的字符串的指针,如果没有发现返回NULL。
while(*lp !=0)
{
cout<<lp;
lp=_tcschr(lp , 0);
}