System::Text::StringBuilder::Replace method
Contents
[
Hide
]StringBuilder::Replace(char_t, char_t) method
Replaces character through the builder.
StringBuilder * System::Text::StringBuilder::Replace(char_t oldChar, char_t newChar)
Parameter | Type | Description |
---|---|---|
oldChar | char_t | Character to replace. |
newChar | char_t | Replacement character. |
ReturnValue
This pointer.
See Also
- Class StringBuilder
- Class StringBuilder
- Namespace System::Text
- Library Aspose.PUB for C++
StringBuilder::Replace(char_t, char_t, int, int) method
Replaces character through the builder’s range.
StringBuilder * System::Text::StringBuilder::Replace(char_t oldChar, char_t newChar, int startIndex, int count)
Parameter | Type | Description |
---|---|---|
oldChar | char_t | Character to replace. |
newChar | char_t | Replacement character. |
startIndex | int | Builder’s replacement range beginning position. |
count | int | Builder’s replacement range length. |
ReturnValue
This pointer.
See Also
- Class StringBuilder
- Class StringBuilder
- Namespace System::Text
- Library Aspose.PUB for C++
StringBuilder::Replace(const String&, const String&) method
Replaces substring through the builder.
StringBuilder * System::Text::StringBuilder::Replace(const String &oldString, const String &newString)
Parameter | Type | Description |
---|---|---|
oldString | const String& | String to replace. |
newString | const String& | Replacement string. |
ReturnValue
This pointer.
See Also
- Class StringBuilder
- Class String
- Class StringBuilder
- Namespace System::Text
- Library Aspose.PUB for C++
StringBuilder::Replace(const String&, const String&, int, int) method
Replaces substring through the builder’s range.
StringBuilder * System::Text::StringBuilder::Replace(const String &oldString, const String &newString, int position, int count)
Parameter | Type | Description |
---|---|---|
oldString | const String& | String to replace. |
newString | const String& | Replacement string. |
position | int | Builder’s replacement range beginning position. |
count | int | Builder’s replacement range length. |
ReturnValue
This pointer.
See Also
- Class StringBuilder
- Class String
- Class StringBuilder
- Namespace System::Text
- Library Aspose.PUB for C++