Share via


StringBuffer.LastIndexOf Method

Definition

Overloads

LastIndexOf(String, Int32)

Added in 1.

LastIndexOf(String)

Added in 1.

LastIndexOf(String, Int32)

Added in 1.

[Android.Runtime.Register("lastIndexOf", "(Ljava/lang/String;I)I", "")]
public override int LastIndexOf (string str, int fromIndex);
[<Android.Runtime.Register("lastIndexOf", "(Ljava/lang/String;I)I", "")>]
override this.LastIndexOf : string * int -> int

Parameters

str
String
fromIndex
Int32

Returns

Attributes

Remarks

Added in 1.4.

Java documentation for java.lang.StringBuffer.lastIndexOf(java.lang.String, 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

LastIndexOf(String)

Added in 1.

[Android.Runtime.Register("lastIndexOf", "(Ljava/lang/String;)I", "")]
public override int LastIndexOf (string str);
[<Android.Runtime.Register("lastIndexOf", "(Ljava/lang/String;)I", "")>]
override this.LastIndexOf : string -> int

Parameters

str
String

Returns

Attributes

Exceptions

if string is null.

Remarks

Added in 1.4.

Java documentation for java.lang.StringBuffer.lastIndexOf(java.lang.String).

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.

See also

Applies to