String.ToCharArray 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.
Converts this string to a new character array.
[Android.Runtime.Register("toCharArray", "()[C", "")]
public char[]? ToCharArray ();
[<Android.Runtime.Register("toCharArray", "()[C", "")>]
member this.ToCharArray : unit -> char[]
Returns
a newly allocated character array whose length is the length of this string and whose contents are initialized to contain the character sequence represented by this string.
- Attributes
Remarks
Converts this string to a new character array.
Java documentation for java.lang.String.toCharArray()
.
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.