## XmlCharacterData::Substring method


Retrieves a substring of the full string from the specified range.

```cpp
virtual String System::Xml::XmlCharacterData::Substring(int32_t offset, int32_t count)
```


| Parameter | Type | Description |
| --- | --- | --- |
| offset | int32_t | The position within the string to start retrieving. An offset of zero indicates the starting point is at the start of the data. |
| count | int32_t | The number of characters to retrieve. |

### ReturnValue

The substring corresponding to the specified range.

## See Also

* Class [String](../../../system/string/)
* Class [XmlCharacterData](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
