語言

ICharSequenceExtensions.SubSequence(ICharSequence, Int32, Int32) 方法

定義

回傳指定範圍內的字元子序列。

public static string SubSequence(this Java.Lang.ICharSequence self, int start, int end);
static member SubSequence : Java.Lang.ICharSequence * int * int -> string

參數

self
ICharSequence

字元序列,從中獲得子序列。

start
Int32

子序列的包含起始索引。

end
Int32

子序列的排他端索引。

傳回

請求的字元子序列。

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於