## String::ToCharArray method


يقوم بتحويل السلسلة أو الجزء الفرعي إلى مصفوفة من الأحرف.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| startIndex | int32_t | فهرس بدء السلسلة الفرعية. |
| الطول | int32_t | طول السلسلة الفرعية. |

### ReturnValue

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

## انظر أيضًا

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