Java.Lang.StringBuffer.Insert Method
Inserts the specified subsequence into this buffer at the specified index.

Syntax

[Android.Runtime.Register("insert", "(ILjava/lang/CharSequence;II)Ljava/lang/StringBuffer;", "")]
public StringBuffer Insert (int index, ICharSequence s, int start, int end)

Parameters

index
The index at which to insert.
s
The char sequence to insert.
start
The inclusive start index in the char sequence.
end
The exclusive end index in the char sequence.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif index is negative or greater than the current length, start or end are negative, start is greater than end or end is greater than the length of s.

Remarks

Inserts the specified subsequence into this buffer at the specified index.

If the specified CharSequence is null, the string "null" is inserted, otherwise the contents of the CharSequence.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1