CharArrayBuffer.Substring(Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從緩衝區中的一個字元範圍建立一個字串。
[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
參數
- beginIndex
- Int32
子串起始的包含索引。
- endIndex
- Int32
子串結束的排他索引。
傳回
包含指定字元範圍的字串。
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。