Language

SpannableString.SubSequence(Int32, Int32) Method

Definition

Gets a text range as a plain string.

public string? SubSequence(int start, int end);
member this.SubSequence : int * int -> string

Parameters

start
Int32

The first character index to include.

end
Int32

The character index at which the range stops, excluding that character.

Returns

The selected characters without span objects.

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