TextUtils.LastIndexOf Method

Definition

Overloads

LastIndexOf(String, Char, Int32, Int32)
LastIndexOf(ICharSequence, Char, Int32, Int32)
LastIndexOf(String, Char, Int32)
LastIndexOf(String, Char)
LastIndexOf(ICharSequence, Char)
LastIndexOf(ICharSequence, Char, Int32)

LastIndexOf(String, Char, Int32, Int32)

public static int LastIndexOf (string? s, char ch, int start, int last);
static member LastIndexOf : string * char * int * int -> int

Parameters

s
String
ch
Char
start
Int32
last
Int32

Returns

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

LastIndexOf(ICharSequence, Char, Int32, Int32)

[Android.Runtime.Register("lastIndexOf", "(Ljava/lang/CharSequence;CII)I", "")]
public static int LastIndexOf (Java.Lang.ICharSequence? s, char ch, int start, int last);
[<Android.Runtime.Register("lastIndexOf", "(Ljava/lang/CharSequence;CII)I", "")>]
static member LastIndexOf : Java.Lang.ICharSequence * char * int * int -> int

Parameters

ch
Char
start
Int32
last
Int32

Returns

Attributes

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

LastIndexOf(String, Char, Int32)

public static int LastIndexOf (string? s, char ch, int last);
static member LastIndexOf : string * char * int -> int

Parameters

s
String
ch
Char
last
Int32

Returns

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

LastIndexOf(String, Char)

public static int LastIndexOf (string? s, char ch);
static member LastIndexOf : string * char -> int

Parameters

s
String
ch
Char

Returns

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

LastIndexOf(ICharSequence, Char)

[Android.Runtime.Register("lastIndexOf", "(Ljava/lang/CharSequence;C)I", "")]
public static int LastIndexOf (Java.Lang.ICharSequence? s, char ch);
[<Android.Runtime.Register("lastIndexOf", "(Ljava/lang/CharSequence;C)I", "")>]
static member LastIndexOf : Java.Lang.ICharSequence * char -> int

Parameters

ch
Char

Returns

Attributes

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

LastIndexOf(ICharSequence, Char, Int32)

[Android.Runtime.Register("lastIndexOf", "(Ljava/lang/CharSequence;CI)I", "")]
public static int LastIndexOf (Java.Lang.ICharSequence? s, char ch, int last);
[<Android.Runtime.Register("lastIndexOf", "(Ljava/lang/CharSequence;CI)I", "")>]
static member LastIndexOf : Java.Lang.ICharSequence * char * int -> int

Parameters

ch
Char
last
Int32

Returns

Attributes

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