CharArrayBuffer.Substring(Int32, Int32) Method

Definition

Creates a string from a range of characters in the buffer.

[Android.Runtime.Register("substring", "(II)Ljava/lang/String;", "")]
public string? Substring(int beginIndex, int endIndex);
[<Android.Runtime.Register("substring", "(II)Ljava/lang/String;", "")>]
member this.Substring : int * int -> string

Parameters

beginIndex
Int32

The inclusive index at which the substring begins.

endIndex
Int32

The exclusive index at which the substring ends.

Returns

A string containing the specified character range.

Attributes

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.

Applies to