## StringInfo::GetNextTextElement(const String\&) method


Gets first element in the specified string.

```cpp
static String System::Globalization::StringInfo::GetNextTextElement(const String &str)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const String\& | Input string. |

### ReturnValue

First text element.

## See Also

* Class [String](../../../system/string/)
* Class [StringInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## StringInfo::GetNextTextElement(const String\&, int) method


Gets element at the specified index of the specified string.

```cpp
static String System::Globalization::StringInfo::GetNextTextElement(const String &str, int index)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const String\& | Input string. |
| index | int | Start index. |

### ReturnValue

[Text](../../../system.text/) element at the specified index.

## See Also

* Class [String](../../../system/string/)
* Class [StringInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
