System::String::Replace método

String::Replace(char_t, char_t) const method

Reemplaza todas las ocurrencias del carácter en la cadena.

String System::String::Replace(char_t oldValue, char_t newValue) const
ParámetroTipoDescripción
oldValuechar_tCarácter a reemplazar.
newValuechar_tvalor de reemplazo.

ReturnValue

String with replacement done.

Ver también

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

Reemplaza todas las ocurrencias de la búsqueda en esta cadena.

String System::String::Replace(const String &oldValue, const String &newValue) const
ParámetroTipoDescripción
oldValueconst String&String para reemplazar.
newValueconst String&cadena de reemplazo.

ReturnValue

String with replacement done.

Ver también