Java.Lang.String.LastIndexOf Method
Returns the index of the start of the last match for the given string in this string, or -1.

Syntax

[Android.Runtime.Register("lastIndexOf", "(Ljava/lang/String;)I", "")]
public int LastIndexOf (string string)

Parameters

string
the string to find.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif string is null.

Remarks

Returns the index of the start of the last match for the given string in this string, or -1. The search for the string starts at the end 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