System::Char::IsDigit 方法
内容
[
隐藏
]Char::IsDigit(char_t) method
确定指定字符是否被归类为十进制数字。
static bool System::Char::IsDigit(char_t c)
| Parameter | Type | 描述 |
|---|---|---|
| c | char_t | 要测试的字符 |
ReturnValue
如果指定字符是十进制数字,则返回 true;否则返回 false
另见
- Class Char
- Namespace System
- Library Aspose.Page for C++
Char::IsDigit(const char_t *, int) method
确定在指定字符缓冲区中指定索引处的字符是否被归类为十进制数字。
static bool System::Char::IsDigit(const char_t *str, int idx)
| Parameter | Type | 描述 |
|---|---|---|
| str | const char_t * | 指向字符缓冲区起始位置的指针 |
| idx | int | 在指定缓冲区中要测试的字符的零基索引 |
ReturnValue
如果指定索引处的字符是十进制数字,则返回 true;否则返回 false
另见
- Class Char
- Namespace System
- Library Aspose.Page for C++
Char::IsDigit(const String&, const int32_t) method
确定在指定字符串中指定索引处的字符是否被归类为十进制数字。
static bool System::Char::IsDigit(const String &str, const int32_t idx)
| Parameter | Type | 描述 |
|---|---|---|
| str | const String& | 一个字符串 |
| idx | const int32_t | 在指定缓冲区中要测试的字符的零基索引 |
ReturnValue
如果指定索引处的字符是十进制数字,则返回 true;否则返回 false
另见
- Class String
- Class Char
- Namespace System
- Library Aspose.Page for C++