StringBuffer.Substring Method

Definition

Overloads

Substring(Int32, Int32)

Added in 1.

Substring(Int32)

Added in 1.

Substring(Int32, Int32)

Added in 1.

[Android.Runtime.Register("substring", "(II)Ljava/lang/String;", "")]
public override string Substring (int start, int end);
[<Android.Runtime.Register("substring", "(II)Ljava/lang/String;", "")>]
override this.Substring : int * int -> string

Parameters

start
Int32

the inclusive start index to begin the subsequence.

end
Int32

the exclusive end index to end the subsequence.

Returns

Attributes

Remarks

Added in 1.2.

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

Substring(Int32)

Added in 1.

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

Parameters

start
Int32

the inclusive start index to begin the subsequence.

Returns

Attributes

Remarks

Added in 1.2.

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