System::String::Replace 方法
String::Replace(char_t, char_t) const method
替换字符串中所有出现的字符。
String System::String::Replace(char_t oldValue, char_t newValue) const
| 参数 | 类型 | 描述 |
|---|---|---|
| oldValue | char_t | 要替换的字符。 |
| newValue | char_t | 替换值。 |
ReturnValue
String with replacement done.
另见
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++
String::Replace(const String&, const String&) const method
替换此字符串中所有出现的查找项。
String System::String::Replace(const String &oldValue, const String &newValue) const
| 参数 | 类型 | 描述 |
|---|---|---|
| oldValue | const String& | String 替换。 |
| newValue | const String& | 替换字符串。 |
ReturnValue
String with replacement done.
另见
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++