Language

TextUtils.GetReverse(String, Int32, Int32) Method

Definition

Caution

deprecated

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

[System.Obsolete("deprecated")]
public static string? GetReverse(string? source, int start, int end);
[<System.Obsolete("deprecated")>]
static member GetReverse : string * int * int -> string

Parameters

source
String

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

The selected range in reverse character 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