System::String::Replace メソッド

String::Replace(char_t, char_t) const method

文字列内の文字のすべての出現を置換します。

String System::String::Replace(char_t oldValue, char_t newValue) const
パラメーター説明
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
パラメーター説明
oldValueconst String&String を置換する。
newValueconst String&置換文字列。

ReturnValue

String with replacement done.

参照