Language

TextUtils.GetReverseFormatted(ICharSequence, Int32, Int32) Method

Definition

Caution

deprecated

This function only reverses individual chars and not their associated spans.

[Android.Runtime.Register("getReverse", "(Ljava/lang/CharSequence;II)Ljava/lang/CharSequence;", "")]
[System.Obsolete("deprecated")]
public static Java.Lang.ICharSequence? GetReverseFormatted(Java.Lang.ICharSequence? source, int start, int end);
[<Android.Runtime.Register("getReverse", "(Ljava/lang/CharSequence;II)Ljava/lang/CharSequence;", "")>]
[<System.Obsolete("deprecated")>]
static member GetReverseFormatted : Java.Lang.ICharSequence * int * int -> Java.Lang.ICharSequence

Parameters

source
ICharSequence

The text that contains the range to reverse.

start
Int32

The first character index to include.

end
Int32

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

Returns

A character sequence for the selected range in reverse order, with right-to-left mirror characters substituted where defined.

Attributes

Remarks

This function only reverses individual chars and not their associated spans. It doesn't support surrogate pairs (that correspond to non-BMP code points), combining sequences or conjuncts either.

This member is deprecated. Do not use.

Java documentation for android.text.TextUtils.getReverse(java.lang.CharSequence, 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