StringBuilder.SubSequenceFormatted(Int32, Int32) StringBuilder.SubSequenceFormatted(Int32, Int32) Method

Definition

Returns a CharSequence of the subsequence from the start index to the end index.

[Android.Runtime.Register("subSequence", "(II)Ljava/lang/CharSequence;", "")]
public override Java.Lang.ICharSequence SubSequenceFormatted (int start, int end);
override this.SubSequenceFormatted : int * int -> Java.Lang.ICharSequence

Parameters

start
Int32 Int32

the inclusive start index to begin the subsequence.

end
Int32 Int32

the exclusive end index to end the subsequence.

Returns

Implements

Exceptions

if start is negative, greater than end or if end is greater than the current Length().

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to