Compartilhar via


StringBuffer.IndexOf Method

Definition

Overloads

IndexOf(String, Int32)

Added in 1.

IndexOf(String)

Added in 1.

IndexOf(String, Int32)

Added in 1.

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

Parameters

str
String
fromIndex
Int32

Returns

Attributes

Remarks

Added in 1.4.

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

IndexOf(String)

Added in 1.

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

Parameters

str
String

Returns

Attributes

Remarks

Added in 1.4.

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