System::Globalization::CompareInfo::LastIndexOf 方法
内容
[
隐藏
]CompareInfo::LastIndexOf(const String&, char16_t) const method
搜索指定字符的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, char16_t value) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | char16_t | 查找值。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, char16_t, CompareOptions) const method
使用指定的比较选项搜索指定字符的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, char16_t value, CompareOptions options) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | char16_t | 查找值。 |
| 选项 | CompareOptions | 比较选项。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Enum CompareOptions
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, char16_t, int) const method
搜索指定字符的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, char16_t value, int start_index) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | char16_t | 查找值。 |
| start_index | int | 在源字符串中查找的起始索引。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, char16_t, int, CompareOptions) const method
使用指定的比较选项搜索指定字符的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, char16_t value, int start_index, CompareOptions options) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | char16_t | 查找值。 |
| start_index | int | 在源字符串中查找的起始索引。 |
| 选项 | CompareOptions | 比较选项。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Enum CompareOptions
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, char16_t, int, int) const method
搜索指定字符的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, char16_t value, int start_index, int count) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | char16_t | 查找值。 |
| start_index | int | 在源字符串中查找的起始索引。 |
| count | int | 源字符串中的字符数。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, char16_t, int, int, CompareOptions) const method
使用指定的比较选项搜索指定字符的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, char16_t value, int start_index, int count, CompareOptions options) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | char16_t | 查找值。 |
| start_index | int | 在源字符串中查找的起始索引。 |
| count | int | 源字符串中的字符数。 |
| 选项 | CompareOptions | 比较选项。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Enum CompareOptions
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, const String&) const method
搜索指定子字符串的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, const String &value) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | const String& | 查找值。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, const String&, CompareOptions) const method
使用指定的比较选项搜索指定字符串的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, const String &value, CompareOptions options) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | const String& | 查找值。 |
| 选项 | CompareOptions | 比较选项。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Enum CompareOptions
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, const String&, int) const method
搜索指定字符串的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, const String &value, int start_index) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | const String& | 查找值。 |
| start_index | int | 在源字符串中查找的起始索引。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, const String&, int, CompareOptions) const method
使用指定的比较选项搜索指定字符串的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, const String &value, int start_index, CompareOptions options) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | const String& | 查找值。 |
| start_index | int | 在源字符串中查找的起始索引。 |
| 选项 | CompareOptions | 比较选项。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Enum CompareOptions
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, const String&, int, int) const method
搜索指定字符串的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, const String &value, int start_index, int count) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | const String& | 查找值。 |
| start_index | int | 在源字符串中查找的起始索引。 |
| count | int | 源字符串中的字符数。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++
CompareInfo::LastIndexOf(const String&, const String&, int, int, CompareOptions) const method
使用指定的比较选项搜索指定子字符串的最后一次出现。
virtual int System::Globalization::CompareInfo::LastIndexOf(const String &source, const String &value, int start_index, int count, CompareOptions options) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 源 | const String& | 源字符串。 |
| 值 | const String& | 查找值。 |
| start_index | int | 在源字符串中查找的起始索引。 |
| count | int | 源字符串中的字符数。 |
| 选项 | CompareOptions | 比较选项。 |
ReturnValue
在源字符串中查找值的索引,如果未找到则为 -1。
另见
- Class String
- Enum CompareOptions
- Class CompareInfo
- Namespace System::Globalization
- Library Aspose.Font for C++