Metodo System::String::Replace

String::Replace(char_t, char_t) const method

Sostituisce tutte le occorrenze del carattere nella stringa.

String System::String::Replace(char_t oldValue, char_t newValue) const
ParametroTipoDescrizione
oldValuechar_tCarattere da sostituire.
newValuechar_tvalore di sostituzione.

ReturnValue

String with replacement done.

Vedi anche

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

Sostituisce tutte le occorrenze della ricerca in questa stringa.

String System::String::Replace(const String &oldValue, const String &newValue) const
ParametroTipoDescrizione
oldValueconst String&String da sostituire.
newValueconst String&stringa di sostituzione.

ReturnValue

String with replacement done.

Vedi anche