|
| | BeStringShortW64 () |
| |
| | BeStringShortW64 (const char *str, int count=-1, unsigned int CodePage=CP_ACP) |
| |
| | BeStringShortW64 (const WCHAR *wstr, int count=-1) |
| |
| | ~BeStringShortW64 () |
| |
| | BasicStringBufferW (WCHAR *source, int capacity) |
| |
| | ~BasicStringBufferW () |
| |
| void | clear () |
| | 清空字符串
|
| |
| void | resize (unsigned len) |
| | 重置容量大小
|
| |
| size_t | length () const |
| | 字符串长度
|
| |
| const WCHAR * | c_str () const |
| | 源字符串
|
| |
| void | join_path (const WCHAR *wstr) |
| | 在末尾追加字符串.同时自动处理路径分隔符(/,\).
|
| |
| bool | is_empty () const |
| | 是否为空
|
| |
| void | init (const char *str, int count=-1, unsigned int CodePage=CP_UTF8) |
| | 多字符集字符串初始化
|
| |
| void | init (const WCHAR *wstr, int count=-1) |
| |
| void | append (const WCHAR *str, int len=-1) |
| | 尾部添加字符串
|
| |
| void | append (WCHAR ch, int repeat=1) |
| | 尾部添加单个字符
|
| |
| void | append_format (LPCWSTR lpszFormat,...) |
| | 尾部添加格式化字符串
|
| |
| void | append_v (LPCWSTR lpszFormat, va_list argList) |
| |
| void | update (int pos, WCHAR ch) |
| | 更新或设置指定索引位置(pos)的字符
|
| |
| int | replace_char (WCHAR chOld, WCHAR chNew) |
| | 替换字符
|
| |
| int | replace_string (const WCHAR *chOld, const WCHAR *chNew) |
| | 替换字符串
|
| |
| void | reversal () |
| | 倒转字符串
|
| |
| void | trim () |
| | 剔除字符串头尾空白符(空格、换行、tab)
|
| |
| void | trim_left () |
| | 剔除字符串前缀空白符(空格、换行、tab)
|
| |
| void | trim_right () |
| | 剔除字符串末尾空白符(空格、换行、tab)
|
| |
| void | trim_all () |
| | 剔除字符串任意位置空白符(空格、换行、tab)
|
| |
| void | format_ellipsis (const WCHAR *str, UINT align) |
| | 长度超出范围时显示省略号
|
| |
| void | format (const WCHAR *lpszFormat,...) |
| | 格式化打印.e.g: format("%f,%d",1.0, 60);
|
| |
| void | format_v (const WCHAR *lpszFormat, va_list args) |
| |
| void | insert (int nIndex, const WCHAR *str, int count=-1) |
| | 在指定索引位置(nIndex)插入字符串
|
| |
| void | erase (int nIndex, int nCount=1) |
| | 删除字符
|
| |
| void | remove_float_last_zero () |
| | 去除浮点数多余的0后缀
|
| |
| void | remove_float_scientific_zero () |
| | 去除科学计数法多余的0后缀
|
| |
| void | add_numeric_thousand_separator () |
| | 数字千分分隔符
|
| |
| int | toInt (bool ExprRecognition=true) const |
| | 转换成数字
|
| |
| double | tofloat (bool ExprRecognition=true) const |
| | 转换 浮点型
|
| |