## String::ToCharArray method


Konvertiert Zeichenkette oder Teilzeichenkette in ein Zeichenarray.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| startIndex | int32_t | Startindex des Substrings. |
| Länge | int32_t | Länge des Substrings. |

### ReturnValue

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

## Siehe auch

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