## StringInfo::SubstringByTextElements(int) const method


Gets substring of text elements from the specified text element through the last text element.

```cpp
String System::Globalization::StringInfo::SubstringByTextElements(int starting_text_element) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| starting_text_element | int | [Index](../../../system/index/) of a text element. |

### ReturnValue

Substring of text elements.

## See Also

* Class [String](../../../system/string/)
* Class [StringInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
## StringInfo::SubstringByTextElements(int, int) const method


Gets substring of text elements from the specified text element through the specified number of text elements.

```cpp
String System::Globalization::StringInfo::SubstringByTextElements(int starting_text_element, int length_in_text_elements) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| starting_text_element | int | [Index](../../../system/index/) of a text element. |
| length_in_text_elements | int | Number of text elements. |

### ReturnValue

Substring of text elements.

## See Also

* Class [String](../../../system/string/)
* Class [StringInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PDF for C++](../../../)
