## StringInfo::GetNextTextElement(const String\&) method


获取指定字符串中的第一个元素。

```cpp
static String System::Globalization::StringInfo::GetNextTextElement(const String &str)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| str | const String\& | 输入字符串。 |

### ReturnValue

第一个文本元素。

## 另见

* Class [String](../../../system/string/)
* Class [StringInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
## StringInfo::GetNextTextElement(const String\&, int) method


获取指定字符串在指定索引处的元素。

```cpp
static String System::Globalization::StringInfo::GetNextTextElement(const String &str, int index)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| str | const String\& | 输入字符串。 |
| 索引 | int | 起始索引。 |

### ReturnValue

[Text](../../../system.text/) element at the specified index.

## 另见

* Class [String](../../../system/string/)
* Class [StringInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Font for C++](../../../)
