System::String::Replace μέθοδος

String::Replace(char_t, char_t) const method

Αντικαθιστά όλες τις εμφανίσεις του χαρακτήρα στη συμβολοσειρά.

String System::String::Replace(char_t oldValue, char_t newValue) const
ParameterTypeΠεριγραφή
oldValuechar_tΧαρακτήρας προς αντικατάσταση.
newValuechar_tτιμή αντικατάστασης.

ReturnValue

String with replacement done.

Δείτε επίσης

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

Αντικαθιστά όλες τις εμφανίσεις της αναζήτησης σε αυτή τη συμβολοσειρά.

String System::String::Replace(const String &oldValue, const String &newValue) const
ParameterTypeΠεριγραφή
oldValueconst String&String για αντικατάσταση.
newValueconst String&συμβολοσειρά αντικατάστασης.

ReturnValue

String with replacement done.

Δείτε επίσης