StringBuilder.IndexOf StringBuilder.IndexOf Method

Definition

Overloads

IndexOf(String, Int32) IndexOf(String, Int32)

Searches for the index of the specified character.

IndexOf(String) IndexOf(String)

Searches for the first index of the specified character.

IndexOf(String, Int32) IndexOf(String, Int32)

Searches for the index of the specified character.

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

Parameters

fromIndex
Int32 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.

IndexOf(String) IndexOf(String)

Searches for the first index of the specified character.

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

Parameters

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.

See also

Applies to