Udostępnij za pośrednictwem


SpannableStringBuilder.SubSequenceFormatted(Int32, Int32) Method

Definition

Return a new CharSequence containing a copy of the specified range of this buffer, including the overlapping spans.

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

Parameters

start
Int32

the start offset of the sub-sequence. It is inclusive, that is, the index of the first character that is included in the sub-sequence.

end
Int32

the end offset of the sub-sequence. It is exclusive, that is, the index of the first character after those that are included in the sub-sequence

Returns

Implements

Attributes

Remarks

Return a new CharSequence containing a copy of the specified range of this buffer, including the overlapping spans.

Java documentation for android.text.SpannableStringBuilder.subSequence(int, int).

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