Java.Lang.StringBuilder.Insert Method
Inserts the string representation of the specified subsequence of the char[] at the specified offset.

Syntax

[Android.Runtime.Register("insert", "(I[CII)Ljava/lang/StringBuilder;", "")]
public StringBuilder Insert (int offset, char[] str, int strOffset, int strLen)

See Also

String.ValueOf(Char[], System.Int32, System.Int32)

Parameters

offset
the index to insert at.
str
the char[] to insert.
strOffset
the inclusive index.
strLen
the number of characters.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.StringIndexOutOfBoundsExceptionif offset is negative or greater than the current length(), or strOffset and strLen do not specify a valid subsequence.

Remarks

Inserts the string representation of the specified subsequence of the char[] at the specified offset. The char[] value is converted to a String according to the rule defined by String.ValueOf(Char[], System.Int32, System.Int32).

[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