Android Guides | Samples

Java.Lang.String.LastIndexOf Method

Returns the last index of the code point c, or -1.

Syntax

[Android.Runtime.Register("lastIndexOf", "(II)I", "")]
public Int32 LastIndexOf (Int32 c, Int32 start)

Parameters

c
start

Remarks

Returns the last index of the code point c, or -1. The search starts at offset start and moves towards the beginning of this string.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1