Java.Lang.StringBuilder.Insert Method
Inserts the specified string at the specified offset.

Syntax

[Android.Runtime.Register("insert", "(ILjava/lang/String;)Ljava/lang/StringBuilder;", "")]
public StringBuilder Insert (int offset, string str)

Parameters

offset
the index to insert at.
str
the String to insert.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.StringIndexOutOfBoundsExceptionif offset is negative or greater than the current length().

Remarks

Inserts the specified string at the specified offset. If the specified string is null, then the String "null" is inserted.

[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