Méthode System::String::ToCharArray

String::ToCharArray method

Convertit une chaîne ou une sous-chaîne en tableau de caractères.

ArrayPtr<char_t> System::String::ToCharArray(int32_t startIndex=0, int32_t length=INT32_MAX) const
ParamètreTypeDescription
startIndexint32_tIndice de début de la sous-chaîne.
lengthint32_tLongueur de la sous-chaîne.

ReturnValue

Array containing characters of the string.

Voir aussi