## String::ToCharArray method


Converteert een string of substring naar een array van tekens.

```cpp
ArrayPtr<char_t> System::String::ToCharArray(int32_t startIndex=0, int32_t length=INT32_MAX) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| startIndex | int32_t | Startindex van substring. |
| lengte | int32_t | Lengte van substring. |

### ReturnValue

[Array](../../array/) containing characters of the string.

## Zie ook

* Typedef [ArrayPtr](../../arrayptr/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
