System::Text::StringBuilder::Insert method
Contents
[
Hide
]StringBuilder::Insert(int, const System::ArrayPtr<char_t>&, int, int) method
Inserts characters into builder’s fixed position.
StringBuilder * System::Text::StringBuilder::Insert(int index, const System::ArrayPtr<char_t> &chars, int startIndex, int charCount)
Parameter | Type | Description |
---|---|---|
index | int | Position to insert characters into. |
chars | const System::ArrayPtr<char_t>& | Array to insert slice from. |
startIndex | int | Array slice beginning index. |
charCount | int | Array slice length. |
ReturnValue
This pointer.
See Also
- Class StringBuilder
- Typedef ArrayPtr
- Class StringBuilder
- Namespace System::Text
- Library Aspose.PDF for C++
StringBuilder::Insert(int, char_t) method
Inserts character into builder’s fixed position.
StringBuilder * System::Text::StringBuilder::Insert(int startIndex, char_t ch)
Parameter | Type | Description |
---|---|---|
startIndex | int | Position to insert characters into. |
ch | char_t | Character to insert. |
ReturnValue
This pointer.
See Also
- Class StringBuilder
- Class StringBuilder
- Namespace System::Text
- Library Aspose.PDF for C++
StringBuilder::Insert(int, const String&) method
Inserts string into builder’s fixed position.
StringBuilder * System::Text::StringBuilder::Insert(int startIndex, const String &str)
Parameter | Type | Description |
---|---|---|
startIndex | int | Position to insert characters into. |
str | const String& | String to insert. |
ReturnValue
This pointer.
See Also
- Class StringBuilder
- Class String
- Class StringBuilder
- Namespace System::Text
- Library Aspose.PDF for C++
StringBuilder::Insert(int, T) method
Inserts value into builder’s fixed position.
template<typename T> std::enable_if<std::is_arithmetic<T>::value, StringBuilder *>::type System::Text::StringBuilder::Insert(int startIndex, T value)
Parameter | Description |
---|---|
Parameter | type. |
Parameter | Type | Description |
---|---|---|
startIndex | int | Position to insert characters into. |
value | T | Value to format and insert. |
ReturnValue
This pointer.
See Also
- Class StringBuilder
- Class StringBuilder
- Namespace System::Text
- Library Aspose.PDF for C++
StringBuilder::Insert(int32_t, const String&, int32_t) method
Inserts repeated string into builder’s fixed position.
StringBuilder * System::Text::StringBuilder::Insert(int32_t index, const String &value, int32_t count)
Parameter | Type | Description |
---|---|---|
index | int32_t | Position to insert characters into. |
value | const String& | String to insert. |
count | int32_t | How many times to repeat value string. |
ReturnValue
This pointer.
See Also
- Class StringBuilder
- Class String
- Class StringBuilder
- Namespace System::Text
- Library Aspose.PDF for C++