CStringT::Remove
来源:互联网 发布:淘宝店入驻条件及费用 编辑:程序博客网 时间:2024/05/16 23:39
CStringT::Remove
Send Feedback on this topic to Microsoft.
View this topiconline in your default browser.
Removes all instances of the specified character from the string.
View ColorizedCopy to Clipboard
int Remove( XCHAR chRemove);
int Remove( XCHAR chRemove);
Parameters
Return Value
The count of characters removed from the string. Zero if the string is not changed.
Remarks
Comparisons for the character are case sensitive.
Example
JavaScript
C#
C++
F#
JScript
VB
View ColorizedCopy to Clipboard
// typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString;CAtlString str(_T("This is a test."));int n = str.Remove(_T('t'));ASSERT(n == 2);ASSERT(str == _T("This is a es."));
// typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString;CAtlString str(_T("This is a test."));int n = str.Remove(_T('t'));ASSERT(n == 2);ASSERT(str == _T("This is a es."));
Requirements
Header: cstringt.h
See Also
Reference
CStringT Class
- CStringT::Remove
- CStringT::Delete
- CString、CStringT
- CStringT::Tokenize
- error C2664: “ATL::CStringT<BaseType,StringTraits>::Remove”: 不能将参数 1 从“const char [2]”转换为“char”
- ATL::CStringT与std::basic_string
- error LNK2019: unresolved external symbol ATL:CStringT
- CStringT类和CString类的关系
- CStringT类和CString类的关系
- remove
- remove
- remove
- remove
- remove
- remove
- Remove
- Remove
- remove
- Qt Event
- 记一次薪酬谈判的教训
- 实现了我梦寐以求的愿望
- CStringT::Delete
- ExtJs4.0 的日期控件中文显示
- CStringT::Remove
- Android开发者指南-复制与粘贴-Copy and Paste[原创译文]
- [iOS7]IOS7中UITableView的变化
- Dynamic
- 升级android系统
- android service备注
- Ponders on Peopleware by DeMarco(2)
- 二维码----百度百科
- 数据流图的画法