wctype_t wctype (const char* property);
*property* 作为字符串传入 | 描述 | 等效函数 |
---|---|---|
"alnum" | 字母数字字符 | iswalnum |
"alpha" | 字母字符 | iswalpha |
"blank" | 空白字符 | iswblank |
"cntrl" | 控制字符 | iswcntrl |
"digit" | 十进制数字字符 | iswdigit |
"graph" | 具有图形表示的字符 | iswgraph |
"lower" | 小写字母字符 | iswlower |
"print" | 可打印字符 | iswprint |
"punct" | 标点符号字符 | iswpunct |
"space" | 空白字符 | iswspace |
"upper" | 大写字母字符 | iswupper |
"xdigit" | 十六进制数字字符 | iswxdigit |
|
|
TEST STRING. |