System::String::ToCharArray method

String::ToCharArray method

Converts string or substring to array of characters.

ArrayPtr<char_t> System::String::ToCharArray(int32_t startIndex=0, int32_t length=INT32_MAX) const
ParameterTypeDescription
startIndexint32_tSubstring start index.
lengthint32_tSubstring length.

ReturnValue

Array containing characters of the string.

See Also