TextUtils.GetChars Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetChars(ICharSequence, Int32, Int32, Char[], Int32) |
Copies a range of characters into an array. |
| GetChars(String, Int32, Int32, Char[], Int32) |
Copies a range of characters into an array. |
GetChars(ICharSequence, Int32, Int32, Char[], Int32)
Copies a range of characters into an array.
[Android.Runtime.Register("getChars", "(Ljava/lang/CharSequence;II[CI)V", "")]
public static void GetChars(Java.Lang.ICharSequence? s, int start, int end, char[]? dest, int destoff);
[<Android.Runtime.Register("getChars", "(Ljava/lang/CharSequence;II[CI)V", "")>]
static member GetChars : Java.Lang.ICharSequence * int * int * char[] * int -> unit
Parameters
The source character sequence.
- start
- Int32
The first source character index to copy.
- end
- Int32
The source index at which copying stops, excluding that character.
- dest
- Char[]
The character array that receives the copied text.
- destoff
- Int32
The first destination array index to write.
- Attributes
Remarks
Android reference for android.text.TextUtils.getChars.
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
GetChars(String, Int32, Int32, Char[], Int32)
Copies a range of characters into an array.
public static void GetChars(string? s, int start, int end, char[]? dest, int destoff);
static member GetChars : string * int * int * char[] * int -> unit
Parameters
- s
- String
The source character sequence.
- start
- Int32
The first source character index to copy.
- end
- Int32
The source index at which copying stops, excluding that character.
- dest
- Char[]
The character array that receives the copied text.
- destoff
- Int32
The first destination array index to write.
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.