méthode System::String::Replace

String::Replace(char_t, char_t) const method

Remplace toutes les occurrences du caractère dans la chaîne.

String System::String::Replace(char_t oldValue, char_t newValue) const
ParamètreTypeDescription
oldValuechar_tCaractère à remplacer.
newValuechar_tvaleur de remplacement.

ReturnValue

String with replacement done.

Voir aussi

String::Replace(const String&, const String&) const method

Remplace toutes les occurrences de la recherche dans cette chaîne.

String System::String::Replace(const String &oldValue, const String &newValue) const
ParamètreTypeDescription
oldValueconst String&String à remplacer.
newValueconst String&chaîne de remplacement.

ReturnValue

String with replacement done.

Voir aussi